--------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  ~\Main folder\output/ngo_log_cleaning.txt
  log type:  text
 opened on:   3 Jul 2022, 10:44:48

. 
. * Data cleaning and panel creation
. 
. // Clean baseline (Round 0)
. do "${code}clean_r0_baseline.do"

. * CLEANING AND VARIABLE CREATION: BASELINE DATA
. 
. *********************************************************************************
. 
. use "${data}/r0_baseline_raw.dta", clear // load baseline raw data

. 
. * Rename
. ren g19d_01 g18d_01

. ren g19d_02 g18d_02

. ren g19d_03 g18d_03

. ren g19d_04 g18d_04

. ren g19d_05 g18d_05

. ren g19d_06 g18d_06

. ren g19d_07 g18d_07

. ren g19d_08 g18d_08

. ren g19d_09 g18d_09

. ren g19d_10 g18d_10

. ren g19d_11 g18d_11

. ren g19d_12 g18d_12

. ren g19d_13 g18d_13

. ren g19d_14 g18d_14

. ren g19d_15 g18d_15

. 
. * Relabel
. label drop _all

. label variable questionnaire_no "Questionnaire Number"

. label variable a1       "A.1. Are you willing to complete this interview and participate in this study?"

. label variable a2       "A.2. Questionnaire No.:"

. label variable a3a      "A.3.a. Conjoint Group # (1-9):"

. label variable a3b_1    "1st card:"

. label variable a3b_2    "2nd card:"

. label variable a3b_3    "3rd card:"

. label variable a3b_4    "4th card:"

. label variable a4       "A.4. Section B (Perceptions) assignment"

. label variable a5_1     "A.5. Date"

. label variable a5_2     "A.5. Date"

. label variable a5_3     "A.5. Date"

. label variable a6_1     "A.6 Enumerator ID"

. label variable a6_2     "A.6 Enumerator ID"

. label variable a6_3     "A.6 Enumerator ID"

. label variable a7_1     "A.7. Result"

. label variable a7_2     "A.7. Result"

. label variable a7_3     "A.7. Result"

. label variable a8       "A.8. If return visit indicated, enter date"

. label variable a9_1     "A.9. Interviewer Completed Date"

. label variable a9_2     "Person's ID"

. label variable a10_1    "A.10. Field Supervisor Checked Date"

. label variable a10_2    "Person's ID"

. label variable a11_1    "A.11. Study Supervisor Checked Date"

. label variable a11_2    "Person's ID"

. label variable a12_1    "A.12. Data Entry Date"

. label variable a12_2    "Person's ID"

. label variable a13      "A.13. Survey Round No:"

. label variable a14a     "A.14.a. Village Name:"

. label variable a14b     "b. Village Code:"

. label variable a14c     "c. Village Sub-Group:"

. label variable a15      "A.15. Head of Household Name"

. label variable a16      "A.16. Cell Phone Number (optional):"

. label variable a17      "A.17. Time Started:"

. label variable a18      "A.18 Time Ended:"

. label variable a19      "A.19 What is your religion?"

. label variable a19_95   "-95 Specify if other:"

. label variable a20      "A.20. What is your caste or tribe? (write the name)"

. label variable a21      "A.21. What is the government assigned category of your caste?"

. label variable a21_95   "-95 Specify if other:"

. label variable a22a     "A.22.a. Are you below poverty line (BPL) or above poverty line (APL)?"

. label variable a22b     "b. Enumerator, did you have to prompt respondent with color of ration card?"

. label variable a23a     "a. Is the primary cook available?"

. label variable a23a_1   "If yes, record name:"

. label variable a23b     "b. Is the head of the household available?"

. label variable a23b_1   "If yes, record name:"

. label variable a24a     "A.24. Can you: a) read a newspaper?"

. label variable a24b     "b) maintain household accounts?"

. label variable b1_1     "B.1. Have you ever heard about how your cooking practices 'Negatively impact your family's health - especially young ch
> ildren'?"
note: label truncated to 80 characters

. label variable b1_2     "B.1. Have you ever heard about how your cooking practices 'Negatively impact local forests and watersheds'?"
note: label truncated to 80 characters

. label variable b1_3     "B.1. Have you ever heard about how your cooking practices 'Negatively impacts local air quality and climate change'?"
note: label truncated to 80 characters

. label variable b2_1     "B.2. From where did you hear about [MESSAGE]?"

. label variable b2_2     "B.2. From where did you hear about [MESSAGE]?"

. label variable b2_3     "B.2. From where did you hear about [MESSAGE]?"

. label variable b3_1     "B.3. What can you do to reduce the negative impacts?"

. label variable b3_2     "B.3. What can you do to reduce the negative impacts?"

. label variable b3_3     "B.3. What can you do to reduce the negative impacts?"

. label variable b4_1     "B.4. Have you heard of some stoves that produce less smoke than others?"

. label variable b4_2     "B.4. Have you heard of some stoves that produce less smoke than others?"

. label variable b4_3     "B.4. Have you heard of some stoves that produce less smoke than others?"

. label variable b5_1     "B.5. Do you think some fuels produce less smoke than others?"

. label variable b5_2     "B.5. Do you think some fuels produce less smoke than others?"

. label variable b5_3     "B.5. Do you think some fuels produce less smoke than others?"

. label variable b6_1     "B.6. On a scale of 1 to 5, do you believe that your use of improved stoves and c"

. label variable b6_2     "B.6. On a scale of 1 to 5, do you believe that your use of improved stoves and c"

. label variable b6_3     "B.6. On a scale of 1 to 5, do you believe that your use of improved stoves and c"

. label variable b7_01    "B.7. Trad Stove_Cost of stove"

. label variable b7_02    "B.7. Trad Stove_Smoke Produced"

. label variable b7_03    "B.7. Trad Stove_Cooking Speed"

. label variable b7_04    "B.7. Trad Stove_Ability to Cook All Foods"

. label variable b7_05    "B.7. Trad Stove_Taste"

. label variable b7_06    "B.7. Trad Stove_Number of dishes can be prepared"

. label variable b7_07    "B.7. Trad Stove_number of people can feed"

. label variable b7_08    "B.7. Trad Stove_amount fuel required"

. label variable b7_09    "B.7. Trad Stove_type of fuel required"

. label variable b7_10    "B.7. Trad Stove_maintenance"

. label variable b7_11    "B.7. Trad Stove_Cleaning requirement"

. label variable b7_12    "B.7. Trad Stove_Portability"

. label variable b7_13    "B.7. Trad Stove_Gives off heat"

. label variable b7_14    "B.7. Trad Stove_Other1"

. label variable b7_15    "B.7. Trad Stove_Other2"

. label variable b8_01    "B.8. What are the two worst attributes of traditional mud stoves, in order of im"

. label variable b8_02    "B.8. What are the two worst attributes of traditional mud stoves, in order of im"

. label variable b8_03    "B.8. What are the two worst attributes of traditional mud stoves, in order of im"

. label variable b8_04    "B.8. What are the two worst attributes of traditional mud stoves, in order of im"

. label variable b8_05    "B.8. What are the two worst attributes of traditional mud stoves, in order of im"

. label variable b8_06    "B.8. What are the two worst attributes of traditional mud stoves, in order of im"

. label variable b8_07    "B.8. What are the two worst attributes of traditional mud stoves, in order of im"

. label variable b8_08    "B.8. What are the two worst attributes of traditional mud stoves, in order of im"

. label variable b8_09    "B.8. What are the two worst attributes of traditional mud stoves, in order of im"

. label variable b8_10    "B.8. What are the two worst attributes of traditional mud stoves, in order of im"

. label variable b8_11    "B.8. What are the two worst attributes of traditional mud stoves, in order of im"

. label variable b8_12    "B.8. What are the two worst attributes of traditional mud stoves, in order of im"

. label variable b8_13    "B.8. What are the two worst attributes of traditional mud stoves, in order of im"

. label variable b8_14    "B.8. What are the two worst attributes of traditional mud stoves, in order of im"

. label variable b8_15    "B.8. What are the two worst attributes of traditional mud stoves, in order of im"

. label variable b9_01    "B.9. What are the two best attributes of improved stoves, in order of importance"

. label variable b9_02    "B.9. What are the two best attributes of improved stoves, in order of importance"

. label variable b9_03    "B.9. What are the two best attributes of improved stoves, in order of importance"

. label variable b9_04    "B.9. What are the two best attributes of improved stoves, in order of importance"

. label variable b9_05    "B.9. What are the two best attributes of improved stoves, in order of importance"

. label variable b9_06    "B.9. What are the two best attributes of improved stoves, in order of importance"

. label variable b9_07    "B.9. What are the two best attributes of improved stoves, in order of importance"

. label variable b9_08    "B.9. What are the two best attributes of improved stoves, in order of importance"

. label variable b9_09    "B.9. What are the two best attributes of improved stoves, in order of importance"

. label variable b9_10    "B.9. What are the two best attributes of improved stoves, in order of importance"

. label variable b9_11    "B.9. What are the two best attributes of improved stoves, in order of importance"

. label variable b9_12    "B.9. What are the two best attributes of improved stoves, in order of importance"

. label variable b9_13    "B.9. What are the two best attributes of improved stoves, in order of importance"

. label variable b9_14    "B.9. What are the two best attributes of improved stoves, in order of importance"

. label variable b9_15    "B.9. What are the two best attributes of improved stoves, in order of importance"

. label variable b10_01   "B.10. What are the two worst attributes of improved stoves, in order of importan"

. label variable b10_02   "B.10. What are the two worst attributes of improved stoves, in order of importan"

. label variable b10_03   "B.10. What are the two worst attributes of improved stoves, in order of importan"

. label variable b10_04   "B.10. What are the two worst attributes of improved stoves, in order of importan"

. label variable b10_05   "B.10. What are the two worst attributes of improved stoves, in order of importan"

. label variable b10_06   "B.10. What are the two worst attributes of improved stoves, in order of importan"

. label variable b10_07   "B.10. What are the two worst attributes of improved stoves, in order of importan"

. label variable b10_08   "B.10. What are the two worst attributes of improved stoves, in order of importan"

. label variable b10_09   "B.10. What are the two worst attributes of improved stoves, in order of importan"

. label variable b10_10   "B.10. What are the two worst attributes of improved stoves, in order of importan"

. label variable b10_11   "B.10. What are the two worst attributes of improved stoves, in order of importan"

. label variable b10_12   "B.10. What are the two worst attributes of improved stoves, in order of importan"

. label variable b10_13   "B.10. What are the two worst attributes of improved stoves, in order of importan"

. label variable b10_14   "B.10. What are the two worst attributes of improved stoves, in order of importan"

. label variable b10_15   "B.10. What are the two worst attributes of improved stoves, in order of importan"

. label variable b7_14    "TradStove_OTher Other 1"

. label variable b7_15    "TradStove_Other other 2"

. label variable b11      "B.11. Now, please put the candies in the piles according to how you feel the smo"

. label variable b12      "B.12. Who answered these questions?"

. label variable c1_01    "C.1. Sub-family ID"

. label variable c1_02    "C.1. Sub-family ID"

. label variable c1_03    "C.1. Sub-family ID"

. label variable c1_04    "C.1. Sub-family ID"

. label variable c1_05    "C.1. Sub-family ID"

. label variable c1_06    "C.1. Sub-family ID"

. label variable c1_07    "C.1. Sub-family ID"

. label variable c1_08    "C.1. Sub-family ID"

. label variable c1_09    "C.1. Sub-family ID"

. label variable c1_10    "C.1. Sub-family ID"

. label variable c1_11    "C.1. Sub-family ID"

. label variable c1_12    "C.1. Sub-family ID"

. label variable c1_13    "C.1. Sub-family ID"

. label variable c1_14    "C.1. Sub-family ID"

. label variable c1_15    "C.1. Sub-family ID"

. label variable c1_16    "C.1. Sub-family ID"

. label variable c1_17    "C.1. Sub-family ID"

. label variable c1_18    "C.1. Sub-family ID"

. label variable c1_19    "C.1. Sub-family ID"

. label variable c1_20    "C.1. Sub-family ID"

. label variable c2_01    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_02    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_03    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_04    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_05    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_06    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_07    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_08    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_09    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_10    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_11    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_12    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_13    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_14    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_15    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_16    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_17    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_18    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_19    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c2_20    "C.2. Name all persons living in this household from the oldest to the youngest i"

. label variable c3_01    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_02    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_03    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_04    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_05    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_06    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_07    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_08    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_09    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_10    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_11    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_12    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_13    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_14    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_15    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_16    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_17    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_18    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_19    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c3_20    "C.3. Circle the number '1' if this person responded to any question in the surve"

. label variable c4_01    "C.4. Sex"

. label variable c4_02    "C.4. Sex"

. label variable c4_03    "C.4. Sex"

. label variable c4_04    "C.4. Sex"

. label variable c4_05    "C.4. Sex"

. label variable c4_06    "C.4. Sex"

. label variable c4_07    "C.4. Sex"

. label variable c4_08    "C.4. Sex"

. label variable c4_09    "C.4. Sex"

. label variable c4_10    "C.4. Sex"

. label variable c4_11    "C.4. Sex"

. label variable c4_12    "C.4. Sex"

. label variable c4_13    "C.4. Sex"

. label variable c4_14    "C.4. Sex"

. label variable c4_15    "C.4. Sex"

. label variable c4_16    "C.4. Sex"

. label variable c4_17    "C.4. Sex"

. label variable c4_18    "C.4. Sex"

. label variable c4_19    "C.4. Sex"

. label variable c4_20    "C.4. Sex"

. label variable c5_1_01  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_02  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_03  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_04  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_05  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_06  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_07  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_08  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_09  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_10  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_11  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_12  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_13  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_14  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_15  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_16  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_17  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_18  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_19  "C.5. How old is [NAME]? -- Years"

. label variable c5_1_20  "C.5. How old is [NAME]? -- Years"

. label variable c5_2_01  "Months"

. label variable c5_2_02  "Months"

. label variable c5_2_03  "Months"

. label variable c5_2_04  "Months"

. label variable c5_2_05  "Months"

. label variable c5_2_06  "Months"

. label variable c5_2_07  "Months"

. label variable c5_2_08  "Months"

. label variable c5_2_09  "Months"

. label variable c5_2_10  "Months"

. label variable c5_2_11  "Months"

. label variable c5_2_12  "Months"

. label variable c5_2_13  "Months"

. label variable c5_2_14  "Months"

. label variable c5_2_15  "Months"

. label variable c5_2_16  "Months"

. label variable c5_2_17  "Months"

. label variable c5_2_18  "Months"

. label variable c5_2_19  "Months"

. label variable c5_2_20  "Months"

. label variable c5_3_01  "Days"

. label variable c5_3_02  "Days"

. label variable c5_3_03  "Days"

. label variable c5_3_04  "Days"

. label variable c5_3_05  "Days"

. label variable c5_3_06  "Days"

. label variable c5_3_07  "Days"

. label variable c5_3_08  "Days"

. label variable c5_3_09  "Days"

. label variable c5_3_10  "Days"

. label variable c5_3_11  "Days"

. label variable c5_3_12  "Days"

. label variable c5_3_13  "Days"

. label variable c5_3_14  "Days"

. label variable c5_3_15  "Days"

. label variable c5_3_16  "Days"

. label variable c5_3_17  "Days"

. label variable c5_3_18  "Days"

. label variable c5_3_19  "Days"

. label variable c5_3_20  "Days"

. label variable c6_01    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_02    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_03    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_04    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_05    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_06    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_07    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_08    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_09    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_10    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_11    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_12    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_13    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_14    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_15    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_16    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_17    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_18    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_19    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c6_20    "C.6. What is [NAME]'s relationship to the head of household?"

. label variable c7_01    "C.7. What is the current marital status of [NAME]?"

. label variable c7_02    "C.7. What is the current marital status of [NAME]?"

. label variable c7_03    "C.7. What is the current marital status of [NAME]?"

. label variable c7_04    "C.7. What is the current marital status of [NAME]?"

. label variable c7_05    "C.7. What is the current marital status of [NAME]?"

. label variable c7_06    "C.7. What is the current marital status of [NAME]?"

. label variable c7_07    "C.7. What is the current marital status of [NAME]?"

. label variable c7_08    "C.7. What is the current marital status of [NAME]?"

. label variable c7_09    "C.7. What is the current marital status of [NAME]?"

. label variable c7_10    "C.7. What is the current marital status of [NAME]?"

. label variable c7_11    "C.7. What is the current marital status of [NAME]?"

. label variable c7_12    "C.7. What is the current marital status of [NAME]?"

. label variable c7_13    "C.7. What is the current marital status of [NAME]?"

. label variable c7_14    "C.7. What is the current marital status of [NAME]?"

. label variable c7_15    "C.7. What is the current marital status of [NAME]?"

. label variable c7_16    "C.7. What is the current marital status of [NAME]?"

. label variable c7_17    "C.7. What is the current marital status of [NAME]?"

. label variable c7_18    "C.7. What is the current marital status of [NAME]?"

. label variable c7_19    "C.7. What is the current marital status of [NAME]?"

. label variable c7_20    "C.7. What is the current marital status of [NAME]?"

. label variable c8_01    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_02    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_03    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_04    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_05    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_06    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_07    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_08    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_09    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_10    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_11    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_12    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_13    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_14    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_15    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_16    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_17    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_18    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_19    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c8_20    "C.8. Who is/are the (1) Primary cook? (2) Secondary cook?"

. label variable c9_01    "C.9. What is [NAME]'s main work?"

. label variable c9_02    "C.9. What is [NAME]'s main work?"

. label variable c9_03    "C.9. What is [NAME]'s main work?"

. label variable c9_04    "C.9. What is [NAME]'s main work?"

. label variable c9_05    "C.9. What is [NAME]'s main work?"

. label variable c9_06    "C.9. What is [NAME]'s main work?"

. label variable c9_07    "C.9. What is [NAME]'s main work?"

. label variable c9_08    "C.9. What is [NAME]'s main work?"

. label variable c9_09    "C.9. What is [NAME]'s main work?"

. label variable c9_10    "C.9. What is [NAME]'s main work?"

. label variable c9_11    "C.9. What is [NAME]'s main work?"

. label variable c9_12    "C.9. What is [NAME]'s main work?"

. label variable c9_13    "C.9. What is [NAME]'s main work?"

. label variable c9_14    "C.9. What is [NAME]'s main work?"

. label variable c9_15    "C.9. What is [NAME]'s main work?"

. label variable c9_16    "C.9. What is [NAME]'s main work?"

. label variable c9_17    "C.9. What is [NAME]'s main work?"

. label variable c9_18    "C.9. What is [NAME]'s main work?"

. label variable c9_19    "C.9. What is [NAME]'s main work?"

. label variable c9_20    "C.9. What is [NAME]'s main work?"

. label variable c10_1_01 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_02 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_03 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_04 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_05 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_06 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_07 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_08 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_09 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_10 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_11 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_12 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_13 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_14 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_15 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_16 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_17 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_18 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_19 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_1_20 "C.10. How much would [NAME] earn if he/she were to work for one day? (Rupees)"

. label variable c10_2_01 "(1) Daily (2) Monthly"

. label variable c10_2_02 "(1) Daily (2) Monthly"

. label variable c10_2_03 "(1) Daily (2) Monthly"

. label variable c10_2_04 "(1) Daily (2) Monthly"

. label variable c10_2_05 "(1) Daily (2) Monthly"

. label variable c10_2_06 "(1) Daily (2) Monthly"

. label variable c10_2_07 "(1) Daily (2) Monthly"

. label variable c10_2_08 "(1) Daily (2) Monthly"

. label variable c10_2_09 "(1) Daily (2) Monthly"

. label variable c10_2_10 "(1) Daily (2) Monthly"

. label variable c10_2_11 "(1) Daily (2) Monthly"

. label variable c10_2_12 "(1) Daily (2) Monthly"

. label variable c10_2_13 "(1) Daily (2) Monthly"

. label variable c10_2_14 "(1) Daily (2) Monthly"

. label variable c10_2_15 "(1) Daily (2) Monthly"

. label variable c10_2_16 "(1) Daily (2) Monthly"

. label variable c10_2_17 "(1) Daily (2) Monthly"

. label variable c10_2_18 "(1) Daily (2) Monthly"

. label variable c10_2_19 "(1) Daily (2) Monthly"

. label variable c10_2_20 "(1) Daily (2) Monthly"

. label variable c11_01   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_02   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_03   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_04   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_05   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_06   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_07   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_08   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_09   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_10   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_11   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_12   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_13   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_14   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_15   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_16   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_17   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_18   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_19   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c11_20   "C.11. Is [NAME] currently enrolled or ever attended school?"

. label variable c12_01   "C.12. How many years of education has [NAME] completed?"

. label variable c12_02   "C.12. How many years of education has [NAME] completed?"

. label variable c12_03   "C.12. How many years of education has [NAME] completed?"

. label variable c12_04   "C.12. How many years of education has [NAME] completed?"

. label variable c12_05   "C.12. How many years of education has [NAME] completed?"

. label variable c12_06   "C.12. How many years of education has [NAME] completed?"

. label variable c12_07   "C.12. How many years of education has [NAME] completed?"

. label variable c12_08   "C.12. How many years of education has [NAME] completed?"

. label variable c12_09   "C.12. How many years of education has [NAME] completed?"

. label variable c12_10   "C.12. How many years of education has [NAME] completed?"

. label variable c12_11   "C.12. How many years of education has [NAME] completed?"

. label variable c12_12   "C.12. How many years of education has [NAME] completed?"

. label variable c12_13   "C.12. How many years of education has [NAME] completed?"

. label variable c12_14   "C.12. How many years of education has [NAME] completed?"

. label variable c12_15   "C.12. How many years of education has [NAME] completed?"

. label variable c12_16   "C.12. How many years of education has [NAME] completed?"

. label variable c12_17   "C.12. How many years of education has [NAME] completed?"

. label variable c12_18   "C.12. How many years of education has [NAME] completed?"

. label variable c12_19   "C.12. How many years of education has [NAME] completed?"

. label variable c12_20   "C.12. How many years of education has [NAME] completed?"

. label variable c13_01   "C.13 Mid upper arm circumference (cm)"

. label variable c13_02   "C.13 Mid upper arm circumference (cm)"

. label variable c13_03   "C.13 Mid upper arm circumference (cm)"

. label variable c13_04   "C.13 Mid upper arm circumference (cm)"

. label variable c13_05   "C.13 Mid upper arm circumference (cm)"

. label variable c13_06   "C.13 Mid upper arm circumference (cm)"

. label variable c13_07   "C.13 Mid upper arm circumference (cm)"

. label variable c13_08   "C.13 Mid upper arm circumference (cm)"

. label variable c13_09   "C.13 Mid upper arm circumference (cm)"

. label variable c13_10   "C.13 Mid upper arm circumference (cm)"

. label variable c13_11   "C.13 Mid upper arm circumference (cm)"

. label variable c13_12   "C.13 Mid upper arm circumference (cm)"

. label variable c13_13   "C.13 Mid upper arm circumference (cm)"

. label variable c13_14   "C.13 Mid upper arm circumference (cm)"

. label variable c13_15   "C.13 Mid upper arm circumference (cm)"

. label variable c13_16   "C.13 Mid upper arm circumference (cm)"

. label variable c13_17   "C.13 Mid upper arm circumference (cm)"

. label variable c13_18   "C.13 Mid upper arm circumference (cm)"

. label variable c13_19   "C.13 Mid upper arm circumference (cm)"

. label variable c13_20   "C.13 Mid upper arm circumference (cm)"

. label variable c13_88_01 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_02 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_03 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_04 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_05 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_06 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_07 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_08 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_09 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_10 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_11 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_12 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_13 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_14 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_15 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_16 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_17 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_18 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_19 "[-88] Observation not possible (Enter 1)"

. label variable c13_88_20 "[-88] Observation not possible (Enter 1)"

. label variable d1_01    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_02    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_03    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_04    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_05    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_06    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_07    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_08    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_09    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_10    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_11    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_12    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_13    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_14    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_15    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_16    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_17    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_18    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_19    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d1_20    "D.1. Does [NAME] occasionally have cough & cold?"

. label variable d2_01    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_02    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_03    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_04    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_05    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_06    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_07    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_08    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_09    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_10    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_11    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_12    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_13    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_14    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_15    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_16    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_17    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_18    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_19    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d2_20    "D.2. Did [NAME] have cough & cold in last 2 weeks?"

. label variable d3a_01   "A. Sore throat"

. label variable d3a_02   "A. Sore throat"

. label variable d3a_03   "A. Sore throat"

. label variable d3a_04   "A. Sore throat"

. label variable d3a_05   "A. Sore throat"

. label variable d3a_06   "A. Sore throat"

. label variable d3a_07   "A. Sore throat"

. label variable d3a_08   "A. Sore throat"

. label variable d3a_09   "A. Sore throat"

. label variable d3a_10   "A. Sore throat"

. label variable d3a_11   "A. Sore throat"

. label variable d3a_12   "A. Sore throat"

. label variable d3a_13   "A. Sore throat"

. label variable d3a_14   "A. Sore throat"

. label variable d3a_15   "A. Sore throat"

. label variable d3a_16   "A. Sore throat"

. label variable d3a_17   "A. Sore throat"

. label variable d3a_18   "A. Sore throat"

. label variable d3a_19   "A. Sore throat"

. label variable d3a_20   "A. Sore throat"

. label variable d3b_01   "B. Running/blocked nose/sinusitis"

. label variable d3b_02   "B. Running/blocked nose/sinusitis"

. label variable d3b_03   "B. Running/blocked nose/sinusitis"

. label variable d3b_04   "B. Running/blocked nose/sinusitis"

. label variable d3b_05   "B. Running/blocked nose/sinusitis"

. label variable d3b_06   "B. Running/blocked nose/sinusitis"

. label variable d3b_07   "B. Running/blocked nose/sinusitis"

. label variable d3b_08   "B. Running/blocked nose/sinusitis"

. label variable d3b_09   "B. Running/blocked nose/sinusitis"

. label variable d3b_10   "B. Running/blocked nose/sinusitis"

. label variable d3b_11   "B. Running/blocked nose/sinusitis"

. label variable d3b_12   "B. Running/blocked nose/sinusitis"

. label variable d3b_13   "B. Running/blocked nose/sinusitis"

. label variable d3b_14   "B. Running/blocked nose/sinusitis"

. label variable d3b_15   "B. Running/blocked nose/sinusitis"

. label variable d3b_16   "B. Running/blocked nose/sinusitis"

. label variable d3b_17   "B. Running/blocked nose/sinusitis"

. label variable d3b_18   "B. Running/blocked nose/sinusitis"

. label variable d3b_19   "B. Running/blocked nose/sinusitis"

. label variable d3b_20   "B. Running/blocked nose/sinusitis"

. label variable d3c_01   "C. Faster than normal breathing"

. label variable d3c_02   "C. Faster than normal breathing"

. label variable d3c_03   "C. Faster than normal breathing"

. label variable d3c_04   "C. Faster than normal breathing"

. label variable d3c_05   "C. Faster than normal breathing"

. label variable d3c_06   "C. Faster than normal breathing"

. label variable d3c_07   "C. Faster than normal breathing"

. label variable d3c_08   "C. Faster than normal breathing"

. label variable d3c_09   "C. Faster than normal breathing"

. label variable d3c_10   "C. Faster than normal breathing"

. label variable d3c_11   "C. Faster than normal breathing"

. label variable d3c_12   "C. Faster than normal breathing"

. label variable d3c_13   "C. Faster than normal breathing"

. label variable d3c_14   "C. Faster than normal breathing"

. label variable d3c_15   "C. Faster than normal breathing"

. label variable d3c_16   "C. Faster than normal breathing"

. label variable d3c_17   "C. Faster than normal breathing"

. label variable d3c_18   "C. Faster than normal breathing"

. label variable d3c_19   "C. Faster than normal breathing"

. label variable d3c_20   "C. Faster than normal breathing"

. label variable d3d_01   "D. Wheezing sound in chest/nose"

. label variable d3d_02   "D. Wheezing sound in chest/nose"

. label variable d3d_03   "D. Wheezing sound in chest/nose"

. label variable d3d_04   "D. Wheezing sound in chest/nose"

. label variable d3d_05   "D. Wheezing sound in chest/nose"

. label variable d3d_06   "D. Wheezing sound in chest/nose"

. label variable d3d_07   "D. Wheezing sound in chest/nose"

. label variable d3d_08   "D. Wheezing sound in chest/nose"

. label variable d3d_09   "D. Wheezing sound in chest/nose"

. label variable d3d_10   "D. Wheezing sound in chest/nose"

. label variable d3d_11   "D. Wheezing sound in chest/nose"

. label variable d3d_12   "D. Wheezing sound in chest/nose"

. label variable d3d_13   "D. Wheezing sound in chest/nose"

. label variable d3d_14   "D. Wheezing sound in chest/nose"

. label variable d3d_15   "D. Wheezing sound in chest/nose"

. label variable d3d_16   "D. Wheezing sound in chest/nose"

. label variable d3d_17   "D. Wheezing sound in chest/nose"

. label variable d3d_18   "D. Wheezing sound in chest/nose"

. label variable d3d_19   "D. Wheezing sound in chest/nose"

. label variable d3d_20   "D. Wheezing sound in chest/nose"

. label variable d3e_01   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_02   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_03   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_04   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_05   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_06   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_07   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_08   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_09   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_10   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_11   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_12   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_13   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_14   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_15   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_16   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_17   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_18   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_19   "E. Colorless green/brown mucus/phlegm"

. label variable d3e_20   "E. Colorless green/brown mucus/phlegm"

. label variable d3f_01   "F. Fever"

. label variable d3f_02   "F. Fever"

. label variable d3f_03   "F. Fever"

. label variable d3f_04   "F. Fever"

. label variable d3f_05   "F. Fever"

. label variable d3f_06   "F. Fever"

. label variable d3f_07   "F. Fever"

. label variable d3f_08   "F. Fever"

. label variable d3f_09   "F. Fever"

. label variable d3f_10   "F. Fever"

. label variable d3f_11   "F. Fever"

. label variable d3f_12   "F. Fever"

. label variable d3f_13   "F. Fever"

. label variable d3f_14   "F. Fever"

. label variable d3f_15   "F. Fever"

. label variable d3f_16   "F. Fever"

. label variable d3f_17   "F. Fever"

. label variable d3f_18   "F. Fever"

. label variable d3f_19   "F. Fever"

. label variable d3f_20   "F. Fever"

. label variable d3g_01   "G. Headache"

. label variable d3g_02   "G. Headache"

. label variable d3g_03   "G. Headache"

. label variable d3g_04   "G. Headache"

. label variable d3g_05   "G. Headache"

. label variable d3g_06   "G. Headache"

. label variable d3g_07   "G. Headache"

. label variable d3g_08   "G. Headache"

. label variable d3g_09   "G. Headache"

. label variable d3g_10   "G. Headache"

. label variable d3g_11   "G. Headache"

. label variable d3g_12   "G. Headache"

. label variable d3g_13   "G. Headache"

. label variable d3g_14   "G. Headache"

. label variable d3g_15   "G. Headache"

. label variable d3g_16   "G. Headache"

. label variable d3g_17   "G. Headache"

. label variable d3g_18   "G. Headache"

. label variable d3g_19   "G. Headache"

. label variable d3g_20   "G. Headache"

. label variable d3h_01   "H. Weakness/tiredness/lethargy"

. label variable d3h_02   "H. Weakness/tiredness/lethargy"

. label variable d3h_03   "H. Weakness/tiredness/lethargy"

. label variable d3h_04   "H. Weakness/tiredness/lethargy"

. label variable d3h_05   "H. Weakness/tiredness/lethargy"

. label variable d3h_06   "H. Weakness/tiredness/lethargy"

. label variable d3h_07   "H. Weakness/tiredness/lethargy"

. label variable d3h_08   "H. Weakness/tiredness/lethargy"

. label variable d3h_09   "H. Weakness/tiredness/lethargy"

. label variable d3h_10   "H. Weakness/tiredness/lethargy"

. label variable d3h_11   "H. Weakness/tiredness/lethargy"

. label variable d3h_12   "H. Weakness/tiredness/lethargy"

. label variable d3h_13   "H. Weakness/tiredness/lethargy"

. label variable d3h_14   "H. Weakness/tiredness/lethargy"

. label variable d3h_15   "H. Weakness/tiredness/lethargy"

. label variable d3h_16   "H. Weakness/tiredness/lethargy"

. label variable d3h_17   "H. Weakness/tiredness/lethargy"

. label variable d3h_18   "H. Weakness/tiredness/lethargy"

. label variable d3h_19   "H. Weakness/tiredness/lethargy"

. label variable d3h_20   "H. Weakness/tiredness/lethargy"

. label variable d3i_01   "I. Other (Specify)"

. label variable d3i_02   "I. Other (Specify)"

. label variable d3i_03   "I. Other (Specify)"

. label variable d3i_04   "I. Other (Specify)"

. label variable d3i_05   "I. Other (Specify)"

. label variable d3i_06   "I. Other (Specify)"

. label variable d3i_07   "I. Other (Specify)"

. label variable d3i_08   "I. Other (Specify)"

. label variable d3i_09   "I. Other (Specify)"

. label variable d3i_10   "I. Other (Specify)"

. label variable d3i_11   "I. Other (Specify)"

. label variable d3i_12   "I. Other (Specify)"

. label variable d3i_13   "I. Other (Specify)"

. label variable d3i_14   "I. Other (Specify)"

. label variable d3i_15   "I. Other (Specify)"

. label variable d3i_16   "I. Other (Specify)"

. label variable d3i_17   "I. Other (Specify)"

. label variable d3i_18   "I. Other (Specify)"

. label variable d3i_19   "I. Other (Specify)"

. label variable d3i_20   "I. Other (Specify)"

. label variable d4_01    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_02    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_03    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_04    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_05    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_06    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_07    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_08    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_09    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_10    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_11    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_12    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_13    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_14    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_15    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_16    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_17    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_18    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_19    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d4_20    "D.4. How much did you pay for all the treatments and advice you sought for [NAME"

. label variable d5_1_01  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_02  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_03  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_04  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_05  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_06  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_07  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_08  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_09  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_10  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_11  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_12  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_13  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_14  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_15  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_16  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_17  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_18  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_19  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_1_20  "D.5. How much time were household members unable to go to work or school because"

. label variable d5_2_01  "Days"

. label variable d5_2_02  "Days"

. label variable d5_2_03  "Days"

. label variable d5_2_04  "Days"

. label variable d5_2_05  "Days"

. label variable d5_2_06  "Days"

. label variable d5_2_07  "Days"

. label variable d5_2_08  "Days"

. label variable d5_2_09  "Days"

. label variable d5_2_10  "Days"

. label variable d5_2_11  "Days"

. label variable d5_2_12  "Days"

. label variable d5_2_13  "Days"

. label variable d5_2_14  "Days"

. label variable d5_2_15  "Days"

. label variable d5_2_16  "Days"

. label variable d5_2_17  "Days"

. label variable d5_2_18  "Days"

. label variable d5_2_19  "Days"

. label variable d5_2_20  "Days"

. label variable d6_1_01  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_02  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_03  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_04  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_05  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_06  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_07  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_08  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_09  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_10  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_11  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_12  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_13  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_14  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_15  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_16  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_17  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_18  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_19  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_1_20  "D.6. How much time was [NAME] unable to work or go to school because they were t"

. label variable d6_2_01  "Days"

. label variable d6_2_02  "Days"

. label variable d6_2_03  "Days"

. label variable d6_2_04  "Days"

. label variable d6_2_05  "Days"

. label variable d6_2_06  "Days"

. label variable d6_2_07  "Days"

. label variable d6_2_08  "Days"

. label variable d6_2_09  "Days"

. label variable d6_2_10  "Days"

. label variable d6_2_11  "Days"

. label variable d6_2_12  "Days"

. label variable d6_2_13  "Days"

. label variable d6_2_14  "Days"

. label variable d6_2_15  "Days"

. label variable d6_2_16  "Days"

. label variable d6_2_17  "Days"

. label variable d6_2_18  "Days"

. label variable d6_2_19  "Days"

. label variable d6_2_20  "Days"

. label variable d7_01    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_02    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_03    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_04    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_05    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_06    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_07    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_08    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_09    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_10    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_11    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_12    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_13    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_14    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_15    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_16    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_17    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_18    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_19    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d7_20    "D.7. Did [NAME] Have loose stolls in the past three months?"

. label variable d8_01    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_02    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_03    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_04    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_05    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_06    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_07    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_08    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_09    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_10    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_11    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_12    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_13    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_14    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_15    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_16    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_17    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_18    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_19    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d8_20    "D.8. What were the other symptoms [NAME] experienced during loose stools?"

. label variable d9_01    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_02    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_03    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_04    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_05    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_06    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_07    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_08    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_09    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_10    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_11    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_12    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_13    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_14    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_15    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_16    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_17    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_18    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_19    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d9_20    "D.9. Did [NAME] Have malaria in the past year?"

. label variable d10_01   "D.10. What symptoms did he/she have?"

. label variable d10_02   "D.10. What symptoms did he/she have?"

. label variable d10_03   "D.10. What symptoms did he/she have?"

. label variable d10_04   "D.10. What symptoms did he/she have?"

. label variable d10_05   "D.10. What symptoms did he/she have?"

. label variable d10_06   "D.10. What symptoms did he/she have?"

. label variable d10_07   "D.10. What symptoms did he/she have?"

. label variable d10_08   "D.10. What symptoms did he/she have?"

. label variable d10_09   "D.10. What symptoms did he/she have?"

. label variable d10_10   "D.10. What symptoms did he/she have?"

. label variable d10_11   "D.10. What symptoms did he/she have?"

. label variable d10_12   "D.10. What symptoms did he/she have?"

. label variable d10_13   "D.10. What symptoms did he/she have?"

. label variable d10_14   "D.10. What symptoms did he/she have?"

. label variable d10_15   "D.10. What symptoms did he/she have?"

. label variable d10_16   "D.10. What symptoms did he/she have?"

. label variable d10_17   "D.10. What symptoms did he/she have?"

. label variable d10_18   "D.10. What symptoms did he/she have?"

. label variable d10_19   "D.10. What symptoms did he/she have?"

. label variable d10_20   "D.10. What symptoms did he/she have?"

. label variable d11_01   "D.11. Has [NAME] ever had TB?"

. label variable d11_02   "D.11. Has [NAME] ever had TB?"

. label variable d11_03   "D.11. Has [NAME] ever had TB?"

. label variable d11_04   "D.11. Has [NAME] ever had TB?"

. label variable d11_05   "D.11. Has [NAME] ever had TB?"

. label variable d11_06   "D.11. Has [NAME] ever had TB?"

. label variable d11_07   "D.11. Has [NAME] ever had TB?"

. label variable d11_08   "D.11. Has [NAME] ever had TB?"

. label variable d11_09   "D.11. Has [NAME] ever had TB?"

. label variable d11_10   "D.11. Has [NAME] ever had TB?"

. label variable d11_11   "D.11. Has [NAME] ever had TB?"

. label variable d11_12   "D.11. Has [NAME] ever had TB?"

. label variable d11_13   "D.11. Has [NAME] ever had TB?"

. label variable d11_14   "D.11. Has [NAME] ever had TB?"

. label variable d11_15   "D.11. Has [NAME] ever had TB?"

. label variable d11_16   "D.11. Has [NAME] ever had TB?"

. label variable d11_17   "D.11. Has [NAME] ever had TB?"

. label variable d11_18   "D.11. Has [NAME] ever had TB?"

. label variable d11_19   "D.11. Has [NAME] ever had TB?"

. label variable d11_20   "D.11. Has [NAME] ever had TB?"

. label variable e1_01    "E.1. Do you own [TYPE]?"

. label variable e1_02    "E.1. Do you own [TYPE]?"

. label variable e1_03    "E.1. Do you own [TYPE]?"

. label variable e1_04    "E.1. Do you own [TYPE]?"

. label variable e1_05    "E.1. Do you own [TYPE]?"

. label variable e1_06    "E.1. Do you own [TYPE]?"

. label variable e1_07    "E.1. Do you own [TYPE]?"

. label variable e1_08    "E.1. Do you own [TYPE]?"

. label variable e1_09    "E.1. Do you own [TYPE]?"

. label variable e1_10    "E.1. Do you own [TYPE]?"

. label variable e1_11    "E.1. Do you own [TYPE]?"

. label variable e1_12    "E.1. Do you own [TYPE]?"

. label variable e2_01    "E.2. How many of [TYPE] do you own?"

. label variable e2_02    "E.2. How many of [TYPE] do you own?"

. label variable e2_03    "E.2. How many of [TYPE] do you own?"

. label variable e2_04    "E.2. How many of [TYPE] do you own?"

. label variable e2_05    "E.2. How many of [TYPE] do you own?"

. label variable e2_06    "E.2. How many of [TYPE] do you own?"

. label variable e2_07    "E.2. How many of [TYPE] do you own?"

. label variable e2_08    "E.2. How many of [TYPE] do you own?"

. label variable e2_09    "E.2. How many of [TYPE] do you own?"

. label variable e2_10    "E.2. How many of [TYPE] do you own?"

. label variable e2_11    "E.2. How many of [TYPE] do you own?"

. label variable e2_12    "E.2. How many of [TYPE] do you own?"

. label variable e3_01    "E.3. How is this stove ventilated?"

. label variable e3_02    "E.3. How is this stove ventilated?"

. label variable e3_03    "E.3. How is this stove ventilated?"

. label variable e3_04    "E.3. How is this stove ventilated?"

. label variable e3_05    "E.3. How is this stove ventilated?"

. label variable e3_06    "E.3. How is this stove ventilated?"

. label variable e3_07    "E.3. How is this stove ventilated?"

. label variable e3_08    "E.3. How is this stove ventilated?"

. label variable e3_09    "E.3. How is this stove ventilated?"

. label variable e3_10    "E.3. How is this stove ventilated?"

. label variable e3_11    "E.3. How is this stove ventilated?"

. label variable e3_12    "E.3. How is this stove ventilated?"

. label variable e4_01    "E.4 How many burners does this stove have?"

. label variable e4_02    "E.4 How many burners does this stove have?"

. label variable e4_03    "E.4 How many burners does this stove have?"

. label variable e4_04    "E.4 How many burners does this stove have?"

. label variable e4_05    "E.4 How many burners does this stove have?"

. label variable e4_06    "E.4 How many burners does this stove have?"

. label variable e4_07    "E.4 How many burners does this stove have?"

. label variable e4_08    "E.4 How many burners does this stove have?"

. label variable e4_09    "E.4 How many burners does this stove have?"

. label variable e4_10    "E.4 How many burners does this stove have?"

. label variable e4_11    "E.4 How many burners does this stove have?"

. label variable e4_12    "E.4 How many burners does this stove have?"

. label variable e5_01    "E.5. How long have you had [STOVE]? (Years)"

. label variable e5_02    "E.5. How long have you had [STOVE]? (Years)"

. label variable e5_03    "E.5. How long have you had [STOVE]? (Years)"

. label variable e5_04    "E.5. How long have you had [STOVE]? (Years)"

. label variable e5_05    "E.5. How long have you had [STOVE]? (Years)"

. label variable e5_06    "E.5. How long have you had [STOVE]? (Years)"

. label variable e5_07    "E.5. How long have you had [STOVE]? (Years)"

. label variable e5_08    "E.5. How long have you had [STOVE]? (Years)"

. label variable e5_09    "E.5. How long have you had [STOVE]? (Years)"

. label variable e5_10    "E.5. How long have you had [STOVE]? (Years)"

. label variable e5_11    "E.5. How long have you had [STOVE]? (Years)"

. label variable e5_12    "E.5. How long have you had [STOVE]? (Years)"

. label variable e5_1_01  "<1 Year (Enter 1)"

. label variable e5_1_02  "<1 Year (Enter 1)"

. label variable e5_1_03  "<1 Year (Enter 1)"

. label variable e5_1_04  "<1 Year (Enter 1)"

. label variable e5_1_05  "<1 Year (Enter 1)"

. label variable e5_1_06  "<1 Year (Enter 1)"

. label variable e5_1_07  "<1 Year (Enter 1)"

. label variable e5_1_08  "<1 Year (Enter 1)"

. label variable e5_1_09  "<1 Year (Enter 1)"

. label variable e5_1_10  "<1 Year (Enter 1)"

. label variable e5_1_11  "<1 Year (Enter 1)"

. label variable e5_1_12  "<1 Year (Enter 1)"

. label variable e5_2_01  "Always (Enter 1)"

. label variable e5_2_02  "Always (Enter 1)"

. label variable e5_2_03  "Always (Enter 1)"

. label variable e5_2_04  "Always (Enter 1)"

. label variable e5_2_05  "Always (Enter 1)"

. label variable e5_2_06  "Always (Enter 1)"

. label variable e5_2_07  "Always (Enter 1)"

. label variable e5_2_08  "Always (Enter 1)"

. label variable e5_2_09  "Always (Enter 1)"

. label variable e5_2_10  "Always (Enter 1)"

. label variable e5_2_11  "Always (Enter 1)"

. label variable e5_2_12  "Always (Enter 1)"

. label variable e6_01    "E.6. Has this stove been used in the past week?"

. label variable e6_02    "E.6. Has this stove been used in the past week?"

. label variable e6_03    "E.6. Has this stove been used in the past week?"

. label variable e6_04    "E.6. Has this stove been used in the past week?"

. label variable e6_05    "E.6. Has this stove been used in the past week?"

. label variable e6_06    "E.6. Has this stove been used in the past week?"

. label variable e6_07    "E.6. Has this stove been used in the past week?"

. label variable e6_08    "E.6. Has this stove been used in the past week?"

. label variable e6_09    "E.6. Has this stove been used in the past week?"

. label variable e6_10    "E.6. Has this stove been used in the past week?"

. label variable e6_11    "E.6. Has this stove been used in the past week?"

. label variable e6_12    "E.6. Has this stove been used in the past week?"

. label variable e7_01    "E.7. Why is it not used in the past week?"

. label variable e7_02    "E.7. Why is it not used in the past week?"

. label variable e7_03    "E.7. Why is it not used in the past week?"

. label variable e7_04    "E.7. Why is it not used in the past week?"

. label variable e7_05    "E.7. Why is it not used in the past week?"

. label variable e7_06    "E.7. Why is it not used in the past week?"

. label variable e7_07    "E.7. Why is it not used in the past week?"

. label variable e7_08    "E.7. Why is it not used in the past week?"

. label variable e7_09    "E.7. Why is it not used in the past week?"

. label variable e7_10    "E.7. Why is it not used in the past week?"

. label variable e7_11    "E.7. Why is it not used in the past week?"

. label variable e7_12    "E.7. Why is it not used in the past week?"

. label variable e8_01    "E.8. How often do you use this stove?"

. label variable e8_02    "E.8. How often do you use this stove?"

. label variable e8_03    "E.8. How often do you use this stove?"

. label variable e8_04    "E.8. How often do you use this stove?"

. label variable e8_05    "E.8. How often do you use this stove?"

. label variable e8_06    "E.8. How often do you use this stove?"

. label variable e8_07    "E.8. How often do you use this stove?"

. label variable e8_08    "E.8. How often do you use this stove?"

. label variable e8_09    "E.8. How often do you use this stove?"

. label variable e8_10    "E.8. How often do you use this stove?"

. label variable e8_11    "E.8. How often do you use this stove?"

. label variable e8_12    "E.8. How often do you use this stove?"

. label variable e1_95    "12 Specify other"

. label variable e9_1_01  "E.9. For a typical day when this stove is used, how many hours is the stove on/w"

. label variable e9_1_02  "E.9. For a typical day when this stove is used, how many hours is the stove on/w"

. label variable e9_1_03  "E.9. For a typical day when this stove is used, how many hours is the stove on/w"

. label variable e9_1_04  "E.9. For a typical day when this stove is used, how many hours is the stove on/w"

. label variable e9_1_05  "E.9. For a typical day when this stove is used, how many hours is the stove on/w"

. label variable e9_1_06  "E.9. For a typical day when this stove is used, how many hours is the stove on/w"

. label variable e9_1_07  "E.9. For a typical day when this stove is used, how many hours is the stove on/w"

. label variable e9_1_08  "E.9. For a typical day when this stove is used, how many hours is the stove on/w"

. label variable e9_1_09  "E.9. For a typical day when this stove is used, how many hours is the stove on/w"

. label variable e9_1_10  "E.9. For a typical day when this stove is used, how many hours is the stove on/w"

. label variable e9_1_11  "E.9. For a typical day when this stove is used, how many hours is the stove on/w"

. label variable e9_1_12  "E.9. For a typical day when this stove is used, how many hours is the stove on/w"

. label variable e9_2_01  "Mins"

. label variable e9_2_02  "Mins"

. label variable e9_2_03  "Mins"

. label variable e9_2_04  "Mins"

. label variable e9_2_05  "Mins"

. label variable e9_2_06  "Mins"

. label variable e9_2_07  "Mins"

. label variable e9_2_08  "Mins"

. label variable e9_2_09  "Mins"

. label variable e9_2_10  "Mins"

. label variable e9_2_11  "Mins"

. label variable e9_2_12  "Mins"

. label variable e10_1_01 "E.10. How much does it cost to replace this stove?"

. label variable e10_1_02 "E.10. How much does it cost to replace this stove?"

. label variable e10_1_03 "E.10. How much does it cost to replace this stove?"

. label variable e10_1_04 "E.10. How much does it cost to replace this stove?"

. label variable e10_1_05 "E.10. How much does it cost to replace this stove?"

. label variable e10_1_06 "E.10. How much does it cost to replace this stove?"

. label variable e10_1_07 "E.10. How much does it cost to replace this stove?"

. label variable e10_1_08 "E.10. How much does it cost to replace this stove?"

. label variable e10_1_09 "E.10. How much does it cost to replace this stove?"

. label variable e10_1_10 "E.10. How much does it cost to replace this stove?"

. label variable e10_1_11 "E.10. How much does it cost to replace this stove?"

. label variable e10_1_12 "E.10. How much does it cost to replace this stove?"

. label variable e10_2_01 "Time (Hrs)"

. label variable e10_2_02 "Time (Hrs)"

. label variable e10_2_03 "Time (Hrs)"

. label variable e10_2_04 "Time (Hrs)"

. label variable e10_2_05 "Time (Hrs)"

. label variable e10_2_06 "Time (Hrs)"

. label variable e10_2_07 "Time (Hrs)"

. label variable e10_2_08 "Time (Hrs)"

. label variable e10_2_09 "Time (Hrs)"

. label variable e10_2_10 "Time (Hrs)"

. label variable e10_2_11 "Time (Hrs)"

. label variable e10_2_12 "Time (Hrs)"

. label variable e11_1_01 "E.11. How long does the stove last before breaking?--Months"

. label variable e11_1_02 "E.11. How long does the stove last before breaking?--Months"

. label variable e11_1_03 "E.11. How long does the stove last before breaking?--Months"

. label variable e11_1_04 "E.11. How long does the stove last before breaking?--Months"

. label variable e11_1_05 "E.11. How long does the stove last before breaking?--Months"

. label variable e11_1_06 "E.11. How long does the stove last before breaking?--Months"

. label variable e11_1_07 "E.11. How long does the stove last before breaking?--Months"

. label variable e11_1_08 "E.11. How long does the stove last before breaking?--Months"

. label variable e11_1_09 "E.11. How long does the stove last before breaking?--Months"

. label variable e11_1_10 "E.11. How long does the stove last before breaking?--Months"

. label variable e11_1_11 "E.11. How long does the stove last before breaking?--Months"

. label variable e11_1_12 "E.11. How long does the stove last before breaking?--Months"

. label variable e11_2_01 "Years"

. label variable e11_2_02 "Years"

. label variable e11_2_03 "Years"

. label variable e11_2_04 "Years"

. label variable e11_2_05 "Years"

. label variable e11_2_06 "Years"

. label variable e11_2_07 "Years"

. label variable e11_2_08 "Years"

. label variable e11_2_09 "Years"

. label variable e11_2_10 "Years"

. label variable e11_2_11 "Years"

. label variable e11_2_12 "Years"

. label variable e12_1_01 "E.12. What is the cost to repair the stove if it breaks?"

. label variable e12_1_02 "E.12. What is the cost to repair the stove if it breaks?"

. label variable e12_1_03 "E.12. What is the cost to repair the stove if it breaks?"

. label variable e12_1_04 "E.12. What is the cost to repair the stove if it breaks?"

. label variable e12_1_05 "E.12. What is the cost to repair the stove if it breaks?"

. label variable e12_1_06 "E.12. What is the cost to repair the stove if it breaks?"

. label variable e12_1_07 "E.12. What is the cost to repair the stove if it breaks?"

. label variable e12_1_08 "E.12. What is the cost to repair the stove if it breaks?"

. label variable e12_1_09 "E.12. What is the cost to repair the stove if it breaks?"

. label variable e12_1_10 "E.12. What is the cost to repair the stove if it breaks?"

. label variable e12_1_11 "E.12. What is the cost to repair the stove if it breaks?"

. label variable e12_1_12 "E.12. What is the cost to repair the stove if it breaks?"

. label variable e12_2_01 "Time (Hrs)"

. label variable e12_2_02 "Time (Hrs)"

. label variable e12_2_03 "Time (Hrs)"

. label variable e12_2_04 "Time (Hrs)"

. label variable e12_2_05 "Time (Hrs)"

. label variable e12_2_06 "Time (Hrs)"

. label variable e12_2_07 "Time (Hrs)"

. label variable e12_2_08 "Time (Hrs)"

. label variable e12_2_09 "Time (Hrs)"

. label variable e12_2_10 "Time (Hrs)"

. label variable e12_2_11 "Time (Hrs)"

. label variable e12_2_12 "Time (Hrs)"

. label variable e13_01   "E.13. Where is the stove located?"

. label variable e13_02   "E.13. Where is the stove located?"

. label variable e13_03   "E.13. Where is the stove located?"

. label variable e13_04   "E.13. Where is the stove located?"

. label variable e13_05   "E.13. Where is the stove located?"

. label variable e13_06   "E.13. Where is the stove located?"

. label variable e13_07   "E.13. Where is the stove located?"

. label variable e13_08   "E.13. Where is the stove located?"

. label variable e13_09   "E.13. Where is the stove located?"

. label variable e13_10   "E.13. Where is the stove located?"

. label variable e13_11   "E.13. Where is the stove located?"

. label variable e13_12   "E.13. Where is the stove located?"

. label variable e14_01   "E.14. Does the stove look like it has been used recently?"

. label variable e14_02   "E.14. Does the stove look like it has been used recently?"

. label variable e14_03   "E.14. Does the stove look like it has been used recently?"

. label variable e14_04   "E.14. Does the stove look like it has been used recently?"

. label variable e14_05   "E.14. Does the stove look like it has been used recently?"

. label variable e14_06   "E.14. Does the stove look like it has been used recently?"

. label variable e14_07   "E.14. Does the stove look like it has been used recently?"

. label variable e14_08   "E.14. Does the stove look like it has been used recently?"

. label variable e14_09   "E.14. Does the stove look like it has been used recently?"

. label variable e14_10   "E.14. Does the stove look like it has been used recently?"

. label variable e14_11   "E.14. Does the stove look like it has been used recently?"

. label variable e14_12   "E.14. Does the stove look like it has been used recently?"

. label variable e15_01   "E.15. Do you see significant black soot on the wall behind the stove or the ceil"

. label variable e15_02   "E.15. Do you see significant black soot on the wall behind the stove or the ceil"

. label variable e15_03   "E.15. Do you see significant black soot on the wall behind the stove or the ceil"

. label variable e15_04   "E.15. Do you see significant black soot on the wall behind the stove or the ceil"

. label variable e15_05   "E.15. Do you see significant black soot on the wall behind the stove or the ceil"

. label variable e15_06   "E.15. Do you see significant black soot on the wall behind the stove or the ceil"

. label variable e15_07   "E.15. Do you see significant black soot on the wall behind the stove or the ceil"

. label variable e15_08   "E.15. Do you see significant black soot on the wall behind the stove or the ceil"

. label variable e15_09   "E.15. Do you see significant black soot on the wall behind the stove or the ceil"

. label variable e15_10   "E.15. Do you see significant black soot on the wall behind the stove or the ceil"

. label variable e15_11   "E.15. Do you see significant black soot on the wall behind the stove or the ceil"

. label variable e15_12   "E.15. Do you see significant black soot on the wall behind the stove or the ceil"

. label variable d8_95    "D.8. -95 Specify other"

. label variable d10_95   "D.10. -95 Specify other"

. label variable e16      "E.16. Do you burn waste?"

. label variable e16_95   "-95 Specify other"

. label variable e17      "E.17. Do you burn agricultural waste in the field?"

. label variable e18_01   "E.18. Do you use [FUEL]?"

. label variable e18_02   "E.18. Do you use [FUEL]?"

. label variable e18_03   "E.18. Do you use [FUEL]?"

. label variable e18_04   "E.18. Do you use [FUEL]?"

. label variable e18_05   "E.18. Do you use [FUEL]?"

. label variable e18_06   "E.18. Do you use [FUEL]?"

. label variable e18_07   "E.18. Do you use [FUEL]?"

. label variable e18_08   "E.18. Do you use [FUEL]?"

. label variable e18_09   "E.18. Do you use [FUEL]?"

. label variable e18_10   "E.18. Do you use [FUEL]?"

. label variable e19_1_01 "E.19. Do you have any of this fuel in the house at this time?--Have fuel?"

. label variable e19_1_02 "E.19. Do you have any of this fuel in the house at this time?--Have fuel?"

. label variable e19_1_03 "E.19. Do you have any of this fuel in the house at this time?--Have fuel?"

. label variable e19_1_04 "E.19. Do you have any of this fuel in the house at this time?--Have fuel?"

. label variable e19_1_05 "E.19. Do you have any of this fuel in the house at this time?--Have fuel?"

. label variable e19_1_06 "E.19. Do you have any of this fuel in the house at this time?--Have fuel?"

. label variable e19_1_07 "E.19. Do you have any of this fuel in the house at this time?--Have fuel?"

. label variable e19_1_08 "E.19. Do you have any of this fuel in the house at this time?--Have fuel?"

. label variable e19_1_09 "E.19. Do you have any of this fuel in the house at this time?--Have fuel?"

. label variable e19_1_10 "E.19. Do you have any of this fuel in the house at this time?--Have fuel?"

. label variable e19_2_01 "Observed?"

. label variable e19_2_02 "Observed?"

. label variable e19_2_03 "Observed?"

. label variable e19_2_04 "Observed?"

. label variable e19_2_05 "Observed?"

. label variable e19_2_06 "Observed?"

. label variable e19_2_07 "Observed?"

. label variable e19_2_08 "Observed?"

. label variable e19_2_09 "Observed?"

. label variable e19_2_10 "Observed?"

. label variable e20_01   "E.20. How regularly do you use it?"

. label variable e20_02   "E.20. How regularly do you use it?"

. label variable e20_03   "E.20. How regularly do you use it?"

. label variable e20_04   "E.20. How regularly do you use it?"

. label variable e20_05   "E.20. How regularly do you use it?"

. label variable e20_06   "E.20. How regularly do you use it?"

. label variable e20_07   "E.20. How regularly do you use it?"

. label variable e20_08   "E.20. How regularly do you use it?"

. label variable e20_09   "E.20. How regularly do you use it?"

. label variable e20_10   "E.20. How regularly do you use it?"

. label variable e21_1_01 "E.21. How much money do you spend on this fuel each month?"

. label variable e21_1_02 "E.21. How much money do you spend on this fuel each month?"

. label variable e21_1_03 "E.21. How much money do you spend on this fuel each month?"

. label variable e21_1_04 "E.21. How much money do you spend on this fuel each month?"

. label variable e21_1_05 "E.21. How much money do you spend on this fuel each month?"

. label variable e21_1_06 "E.21. How much money do you spend on this fuel each month?"

. label variable e21_1_07 "E.21. How much money do you spend on this fuel each month?"

. label variable e21_1_08 "E.21. How much money do you spend on this fuel each month?"

. label variable e21_1_09 "E.21. How much money do you spend on this fuel each month?"

. label variable e21_1_10 "E.21. How much money do you spend on this fuel each month?"

. label variable e21_2_01 "(1) Harvest season/ (2) All year"

. label variable e21_2_02 "(1) Harvest season/ (2) All year"

. label variable e21_2_03 "(1) Harvest season/ (2) All year"

. label variable e21_2_04 "(1) Harvest season/ (2) All year"

. label variable e21_2_05 "(1) Harvest season/ (2) All year"

. label variable e21_2_06 "(1) Harvest season/ (2) All year"

. label variable e21_2_07 "(1) Harvest season/ (2) All year"

. label variable e21_2_08 "(1) Harvest season/ (2) All year"

. label variable e21_2_09 "(1) Harvest season/ (2) All year"

. label variable e21_2_10 "(1) Harvest season/ (2) All year"

. label variable e22_1_01 "E.22. How long does it take you prepare the fuel every day?--Minutes per day"

. label variable e22_1_02 "E.22. How long does it take you prepare the fuel every day?--Minutes per day"

. label variable e22_1_03 "E.22. How long does it take you prepare the fuel every day?--Minutes per day"

. label variable e22_1_04 "E.22. How long does it take you prepare the fuel every day?--Minutes per day"

. label variable e22_1_05 "E.22. How long does it take you prepare the fuel every day?--Minutes per day"

. label variable e22_1_06 "E.22. How long does it take you prepare the fuel every day?--Minutes per day"

. label variable e22_1_07 "E.22. How long does it take you prepare the fuel every day?--Minutes per day"

. label variable e22_1_08 "E.22. How long does it take you prepare the fuel every day?--Minutes per day"

. label variable e22_1_09 "E.22. How long does it take you prepare the fuel every day?--Minutes per day"

. label variable e22_1_10 "E.22. How long does it take you prepare the fuel every day?--Minutes per day"

. label variable e22_2_01 "Hours per day"

. label variable e22_2_02 "Hours per day"

. label variable e22_2_03 "Hours per day"

. label variable e22_2_04 "Hours per day"

. label variable e22_2_05 "Hours per day"

. label variable e22_2_06 "Hours per day"

. label variable e22_2_07 "Hours per day"

. label variable e22_2_08 "Hours per day"

. label variable e22_2_09 "Hours per day"

. label variable e22_2_10 "Hours per day"

. label variable e23_01   "E.23. Who in the household collects this fuel?"

. label variable e23_02   "E.23. Who in the household collects this fuel?"

. label variable e23_03   "E.23. Who in the household collects this fuel?"

. label variable e23_04   "E.23. Who in the household collects this fuel?"

. label variable e23_05   "E.23. Who in the household collects this fuel?"

. label variable e23_06   "E.23. Who in the household collects this fuel?"

. label variable e23_07   "E.23. Who in the household collects this fuel?"

. label variable e23_08   "E.23. Who in the household collects this fuel?"

. label variable e23_09   "E.23. Who in the household collects this fuel?"

. label variable e23_10   "E.23. Who in the household collects this fuel?"

. label variable e24_1_01 "E.24. How much time does your household spend collecting or bringing this fuel h"

. label variable e24_1_02 "E.24. How much time does your household spend collecting or bringing this fuel h"

. label variable e24_1_03 "E.24. How much time does your household spend collecting or bringing this fuel h"

. label variable e24_1_04 "E.24. How much time does your household spend collecting or bringing this fuel h"

. label variable e24_1_05 "E.24. How much time does your household spend collecting or bringing this fuel h"

. label variable e24_1_06 "E.24. How much time does your household spend collecting or bringing this fuel h"

. label variable e24_1_07 "E.24. How much time does your household spend collecting or bringing this fuel h"

. label variable e24_1_08 "E.24. How much time does your household spend collecting or bringing this fuel h"

. label variable e24_1_09 "E.24. How much time does your household spend collecting or bringing this fuel h"

. label variable e24_1_10 "E.24. How much time does your household spend collecting or bringing this fuel h"

. label variable e24_2_01 "Time period"

. label variable e24_2_02 "Time period"

. label variable e24_2_03 "Time period"

. label variable e24_2_04 "Time period"

. label variable e24_2_05 "Time period"

. label variable e24_2_06 "Time period"

. label variable e24_2_07 "Time period"

. label variable e24_2_08 "Time period"

. label variable e24_2_09 "Time period"

. label variable e24_2_10 "Time period"

. label variable e25_1_01 "E.25. How much of this fuel do you use on average?--Unit"

. label variable e25_1_02 "E.25. How much of this fuel do you use on average?--Unit"

. label variable e25_1_03 "E.25. How much of this fuel do you use on average?--Unit"

. label variable e25_1_04 "E.25. How much of this fuel do you use on average?--Unit"

. label variable e25_1_05 "E.25. How much of this fuel do you use on average?--Unit"

. label variable e25_1_06 "E.25. How much of this fuel do you use on average?--Unit"

. label variable e25_1_07 "E.25. How much of this fuel do you use on average?--Unit"

. label variable e25_1_08 "E.25. How much of this fuel do you use on average?--Unit"

. label variable e25_1_09 "E.25. How much of this fuel do you use on average?--Unit"

. label variable e25_1_10 "E.25. How much of this fuel do you use on average?--Unit"

. label variable e25_2_01 "Amount"

. label variable e25_2_02 "Amount"

. label variable e25_2_03 "Amount"

. label variable e25_2_04 "Amount"

. label variable e25_2_05 "Amount"

. label variable e25_2_06 "Amount"

. label variable e25_2_07 "Amount"

. label variable e25_2_08 "Amount"

. label variable e25_2_09 "Amount"

. label variable e25_2_10 "Amount"

. label variable e25_3_01 "Time period"

. label variable e25_3_02 "Time period"

. label variable e25_3_03 "Time period"

. label variable e25_3_04 "Time period"

. label variable e25_3_05 "Time period"

. label variable e25_3_06 "Time period"

. label variable e25_3_07 "Time period"

. label variable e25_3_08 "Time period"

. label variable e25_3_09 "Time period"

. label variable e25_3_10 "Time period"

. label variable e18_10   "10 Specify other:"

. label variable e26a     "a. Firewood (Rs/quintal)"

. label variable e26a_9   "[-9] Don't know/not sure"

. label variable e26b     "b. Dung cakes (Rs/patty)"

. label variable e26b_9   "[-9] Don't know/not sure"

. label variable e26c     "c. LPG (Rs/cylinder)"

. label variable e26c_9   "[-9] Don't know/not sure"

. label variable e26d     "d. Kerosene (Rs/cylinder)"

. label variable e26d_9   "[-9] Don't know/not sure"

. label variable e27      "E.27 Are any of the women in this household member of a women's club/self-help g"

. label variable e28      "E.28. What are the responsibilities of members of a women's club/self-help group"

. label variable e28_95   "-95 Specify Others"

. label variable e29      "E.29 Why did or didn't you (or other women in the household) become a member of "

. label variable e29_95   "-95 Specify Others"

. label variable f1       "F.1. Enumerator: is the head of the household available?"

. label variable f2a      "F.2. Can you a) read a newspaper?"

. label variable f2b      "b) Maintain household accounts?"

. label variable f3       "F.3. What does the following picture mean?"

. label variable f4       "F.4. What is the difference between these two pictures?"

. label variable f5       "F.5. What is the difference between these two pictures?"

. label variable f6       "F.6. What does the picture mean?"

. label variable f7a      "F.7. First card: Group#"

. label variable f7b      "Card#"

. label variable f7_1     "F.7.1. Which stove do you prefer: Improved Stove 1, Improved Stove 2, or Traditi"

. label variable f7_2     "F.7.2. Vote: What were the most important attributes of the option you selected,"

. label variable f7_2_95  "-95 Specify other"

. label variable f7_3     "F.7.3. If you had the possibility to purchase this stove at the price stated, wo"

. label variable f8a      "F.8. Second card: Group#"

. label variable f8b      "Card#"

. label variable f8_1     "F.8.1. Which stove do you prefer: Improved Stove 1, Improved Stove 2, or Traditi"

. label variable f8_2     "F.8.2 Vote: What were the most important attributes of the option you selected, "

. label variable f8_2_95  "-95 Specify other"

. label variable f8_3     "F.8.3. If you had the possibility to purchase this stove at the price stated, wo"

. label variable f9_a     "F.9. Third card: Group #"

. label variable f9_b     "Card#"

. label variable f9_1     "F.9.1. Which stove do you prefer: Improved Stove 1, Improved Stove 2, or Traditi"

. label variable f9_2     "F.9.2. Vote: What were the most important attributes of the option you selected,"

. label variable f9_2_95  "-95 Specify other"

. label variable f9_3     "F.9.3. If you had the possibility to purchase this stove at the price stated, wo"

. label variable f10a     "F.10. Fourth card: Group#"

. label variable f10b     "Card#"

. label variable f10_1    "F.10.1. Which stove do you prefer: Improved Stove 1, Improved Stove 2, or Tradit"

. label variable f10_2    "F.10.2. Vote: What were the most important attributes of the option you selected"

. label variable f10_2_95 "-95 Specify other"

. label variable f10_3    "F.10.3. If you had the possibility to purchase this stove at the price stated, w"

. label variable f11      "F.11. After doing these 4 cards, what are the main reasons for the choices you m"

. label variable f11_95   "-95 Specify other"

. label variable f12      "F.12. Who answered these questions?"

. label variable g1a      "a. Number of rooms used for sleeping and living by your household:"

. label variable g1b      "b. Separate rooms used for livestock or storage?"

. label variable g1c      "c. Number of total rooms"

. label variable g2       "G.2. Does your family own this house?"

. label variable g3a      "Rupees:"

. label variable g3b      "Rupees:"

. label variable g3c      "Rupees:"

. label variable g4a      "a. Number of rooms:"

. label variable g4b      "b. Rupees per month"

. label variable g5       "G.5. Does your household own or lease any agricultural lands?"

. label variable g6a_1    "A. Area"

. label variable g6a_2    "A. Area"

. label variable g6b_1    "B. Unit"

. label variable g6b_2    "B. Unit"

. label variable g6b_95_1 "Specify if other unit:"

. label variable g6b_95_2 "Specify if other unit:"

. label variable g7       "G.7. What is your main water source?"

. label variable g8       "G.8. What is your main sanitation facility?"

. label variable g9       "G.9. What is the main source of lighting in your home?"

. label variable g9_95    "Specify if other"

. label variable g10      "G.10. Do you have electricity?"

. label variable g10_1    "(Average number of hours of electricity per day)"

. label variable g11_01   "How many [ASSET] do you own?"

. label variable g11_02   "How many [ASSET] do you own?"

. label variable g11_03   "How many [ASSET] do you own?"

. label variable g11_04   "How many [ASSET] do you own?"

. label variable g11_05   "How many [ASSET] do you own?"

. label variable g11_06   "How many [ASSET] do you own?"

. label variable g11_07   "How many [ASSET] do you own?"

. label variable g11_08   "How many [ASSET] do you own?"

. label variable g11_09   "How many [ASSET] do you own?"

. label variable g11_10   "How many [ASSET] do you own?"

. label variable g11_11   "How many [ASSET] do you own?"

. label variable g11_12   "How many [ASSET] do you own?"

. label variable g12      "G.12. On which step would you say you are now?"

. label variable g12_99   "[-99] Refused to answer"

. label variable g13      "G.13. On which step do you think you will be in 4 years?"

. label variable g13_99   "[-99] Refuse to answer"

. label variable g14_01   "Average month (Rs./month)"

. label variable g14_02   "Average month (Rs./month)"

. label variable g14_03   "Average month (Rs./month)"

. label variable g14_04   "Average month (Rs./month)"

. label variable g14_05   "Average month (Rs./month)"

. label variable g14_06   "Average month (Rs./month)"

. label variable g14_07   "Average month (Rs./month)"

. label variable g14_08   "Average month (Rs./month)"

. label variable g14_09   "Average month (Rs./month)"

. label variable g14_10   "Average month (Rs./month)"

. label variable g14_11   "Average month (Rs./month)"

. label variable g14_12   "Average month (Rs./month)"

. label variable g14_13   "Average month (Rs./month)"

. label variable g14_14   "Average month (Rs./month)"

. label variable g14_15   "Average month (Rs./month)"

. label variable g14_16   "Average month (Rs./month)"

. label variable g14_17   "Average month (Rs./month)"

. label variable g14_18   "Average month (Rs./month)"

. label variable g14_19   "Average month (Rs./month)"

. label variable g14_20   "Average month (Rs./month)"

. label variable g14_21   "Average month (Rs./month)"

. label variable g14_22   "Average month (Rs./month)"

. label variable g14_23   "Average month (Rs./month)"

. label variable g14_9_01 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_02 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_03 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_04 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_05 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_06 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_07 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_08 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_09 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_10 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_11 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_12 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_13 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_14 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_15 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_16 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_17 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_18 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_19 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_20 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_21 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_22 "[-9] Don't know/not sure (Enter 1)"

. label variable g14_9_23 "[-9] Don't know/not sure (Enter 1)"

. label variable g15      "G.15. Has your household faced any serious burden or crisis?"

. label variable g16_1    "(1) Yes"

. label variable g16_2    "(1) Yes"

. label variable g16_3    "(1) Yes"

. label variable g16_4    "(1) Yes"

. label variable g16_5    "(1) Yes"

. label variable g16_6    "(1) Yes"

. label variable g16_7    "(1) Yes"

. label variable g16_8    "(1) Yes"

. label variable g16_9    "(1) Yes"

. label variable g16_95   "Specify if other"

. label variable g17_1    "(1) Yes"

. label variable g17_2    "(1) Yes"

. label variable g17_3    "(1) Yes"

. label variable g17_4    "(1) Yes"

. label variable g17_5    "(1) Yes"

. label variable g17_6    "(1) Yes"

. label variable g17_7    "(1) Yes"

. label variable g17_8    "(1) Yes"

. label variable g17_9    "(1) Yes"

. label variable g17_95   "Specify if other"

. label variable g18a_01  "a. Received in the past?"

. label variable g18a_02  "a. Received in the past?"

. label variable g18a_03  "a. Received in the past?"

. label variable g18a_04  "a. Received in the past?"

. label variable g18a_05  "a. Received in the past?"

. label variable g18a_06  "a. Received in the past?"

. label variable g18a_07  "a. Received in the past?"

. label variable g18a_08  "a. Received in the past?"

. label variable g18a_09  "a. Received in the past?"

. label variable g18a_10  "a. Received in the past?"

. label variable g18a_11  "a. Received in the past?"

. label variable g18a_12  "a. Received in the past?"

. label variable g18a_13  "a. Received in the past?"

. label variable g18a_14  "a. Received in the past?"

. label variable g18a_15  "a. Received in the past?"

. label variable g18b_01  "b. Currently receiving?"

. label variable g18b_02  "b. Currently receiving?"

. label variable g18b_03  "b. Currently receiving?"

. label variable g18b_04  "b. Currently receiving?"

. label variable g18b_05  "b. Currently receiving?"

. label variable g18b_06  "b. Currently receiving?"

. label variable g18b_07  "b. Currently receiving?"

. label variable g18b_08  "b. Currently receiving?"

. label variable g18b_09  "b. Currently receiving?"

. label variable g18b_10  "b. Currently receiving?"

. label variable g18b_11  "b. Currently receiving?"

. label variable g18b_12  "b. Currently receiving?"

. label variable g18b_13  "b. Currently receiving?"

. label variable g18b_14  "b. Currently receiving?"

. label variable g18b_15  "b. Currently receiving?"

. label variable g18c_1_01 "c. What does it provide?--Money (Rs.)"

. label variable g18c_1_02 "c. What does it provide?--Money (Rs.)"

. label variable g18c_1_03 "c. What does it provide?--Money (Rs.)"

. label variable g18c_1_04 "c. What does it provide?--Money (Rs.)"

. label variable g18c_1_05 "c. What does it provide?--Money (Rs.)"

. label variable g18c_1_06 "c. What does it provide?--Money (Rs.)"

. label variable g18c_1_07 "c. What does it provide?--Money (Rs.)"

. label variable g18c_1_08 "c. What does it provide?--Money (Rs.)"

. label variable g18c_1_09 "c. What does it provide?--Money (Rs.)"

. label variable g18c_1_10 "c. What does it provide?--Money (Rs.)"

. label variable g18c_1_11 "c. What does it provide?--Money (Rs.)"

. label variable g18c_1_12 "c. What does it provide?--Money (Rs.)"

. label variable g18c_1_13 "c. What does it provide?--Money (Rs.)"

. label variable g18c_1_14 "c. What does it provide?--Money (Rs.)"

. label variable g18c_1_15 "c. What does it provide?--Money (Rs.)"

. label variable g18c_2_01 "Materials (Type)"

. label variable g18c_2_02 "Materials (Type)"

. label variable g18c_2_03 "Materials (Type)"

. label variable g18c_2_04 "Materials (Type)"

. label variable g18c_2_05 "Materials (Type)"

. label variable g18c_2_06 "Materials (Type)"

. label variable g18c_2_07 "Materials (Type)"

. label variable g18c_2_08 "Materials (Type)"

. label variable g18c_2_09 "Materials (Type)"

. label variable g18c_2_10 "Materials (Type)"

. label variable g18c_2_11 "Materials (Type)"

. label variable g18c_2_12 "Materials (Type)"

. label variable g18c_2_13 "Materials (Type)"

. label variable g18c_2_14 "Materials (Type)"

. label variable g18c_2_15 "Materials (Type)"

. label variable g18c_3_01 "Materials (Amount)"

. label variable g18c_3_02 "Materials (Amount)"

. label variable g18c_3_03 "Materials (Amount)"

. label variable g18c_3_04 "Materials (Amount)"

. label variable g18c_3_05 "Materials (Amount)"

. label variable g18c_3_06 "Materials (Amount)"

. label variable g18c_3_07 "Materials (Amount)"

. label variable g18c_3_08 "Materials (Amount)"

. label variable g18c_3_09 "Materials (Amount)"

. label variable g18c_3_10 "Materials (Amount)"

. label variable g18c_3_11 "Materials (Amount)"

. label variable g18c_3_12 "Materials (Amount)"

. label variable g18c_3_13 "Materials (Amount)"

. label variable g18c_3_14 "Materials (Amount)"

. label variable g18c_3_15 "Materials (Amount)"

. label variable g18c_9_01 "(-9) Don't know/not sure (Enter 1)"

. label variable g18c_9_02 "(-9) Don't know/not sure (Enter 1)"

. label variable g18c_9_03 "(-9) Don't know/not sure (Enter 1)"

. label variable g18c_9_04 "(-9) Don't know/not sure (Enter 1)"

. label variable g18c_9_05 "(-9) Don't know/not sure (Enter 1)"

. label variable g18c_9_06 "(-9) Don't know/not sure (Enter 1)"

. label variable g18c_9_07 "(-9) Don't know/not sure (Enter 1)"

. label variable g18c_9_08 "(-9) Don't know/not sure (Enter 1)"

. label variable g18c_9_09 "(-9) Don't know/not sure (Enter 1)"

. label variable g18c_9_10 "(-9) Don't know/not sure (Enter 1)"

. label variable g18c_9_11 "(-9) Don't know/not sure (Enter 1)"

. label variable g18c_9_12 "(-9) Don't know/not sure (Enter 1)"

. label variable g18c_9_13 "(-9) Don't know/not sure (Enter 1)"

. label variable g18c_9_14 "(-9) Don't know/not sure (Enter 1)"

. label variable g18c_9_15 "(-9) Don't know/not sure (Enter 1)"

. label variable g18d_01  "d. How often?"

. label variable g18d_02  "d. How often?"

. label variable g18d_03  "d. How often?"

. label variable g18d_04  "d. How often?"

. label variable g18d_05  "d. How often?"

. label variable g18d_06  "d. How often?"

. label variable g18d_07  "d. How often?"

. label variable g18d_08  "d. How often?"

. label variable g18d_09  "d. How often?"

. label variable g18d_10  "d. How often?"

. label variable g18d_11  "d. How often?"

. label variable g18d_12  "d. How often?"

. label variable g18d_13  "d. How often?"

. label variable g18d_14  "d. How often?"

. label variable g18d_15  "d. How often?"

. label variable g18_95   "Specify if other"

. label variable g19_1    "G.19 Has your household taken a loan from [SOURCE] in the last year?"

. label variable g19_2    "G.19 Has your household taken a loan from [SOURCE] in the last year?"

. label variable g19_3    "G.19 Has your household taken a loan from [SOURCE] in the last year?"

. label variable g19_4    "G.19 Has your household taken a loan from [SOURCE] in the last year?"

. label variable g19_5    "G.19 Has your household taken a loan from [SOURCE] in the last year?"

. label variable g19_6    "G.19 Has your household taken a loan from [SOURCE] in the last year?"

. label variable g20_1    "G.20. How much did your household borrow (principal amount) from [SOURCE] in the"

. label variable g20_2    "G.20. How much did your household borrow (principal amount) from [SOURCE] in the"

. label variable g20_3    "G.20. How much did your household borrow (principal amount) from [SOURCE] in the"

. label variable g20_4    "G.20. How much did your household borrow (principal amount) from [SOURCE] in the"

. label variable g20_5    "G.20. How much did your household borrow (principal amount) from [SOURCE] in the"

. label variable g20_6    "G.20. How much did your household borrow (principal amount) from [SOURCE] in the"

. label variable g20_9_1  "(-9) Don't know/not sure (Enter 1)"

. label variable g20_9_2  "(-9) Don't know/not sure (Enter 1)"

. label variable g20_9_3  "(-9) Don't know/not sure (Enter 1)"

. label variable g20_9_4  "(-9) Don't know/not sure (Enter 1)"

. label variable g20_9_5  "(-9) Don't know/not sure (Enter 1)"

. label variable g20_9_6  "(-9) Don't know/not sure (Enter 1)"

. label variable g21_1_1  "G.21. What is the repayment period for this loans? --Months"

. label variable g21_1_2  "G.21. What is the repayment period for this loans? --Months"

. label variable g21_1_3  "G.21. What is the repayment period for this loans? --Months"

. label variable g21_1_4  "G.21. What is the repayment period for this loans? --Months"

. label variable g21_1_5  "G.21. What is the repayment period for this loans? --Months"

. label variable g21_1_6  "G.21. What is the repayment period for this loans? --Months"

. label variable g21_2_1  "Years"

. label variable g21_2_2  "Years"

. label variable g21_2_3  "Years"

. label variable g21_2_4  "Years"

. label variable g21_2_5  "Years"

. label variable g21_2_6  "Years"

. label variable g21_9_1  "(-9) Don't know/not sure (Enter 1)"

. label variable g21_9_2  "(-9) Don't know/not sure (Enter 1)"

. label variable g21_9_3  "(-9) Don't know/not sure (Enter 1)"

. label variable g21_9_4  "(-9) Don't know/not sure (Enter 1)"

. label variable g21_9_5  "(-9) Don't know/not sure (Enter 1)"

. label variable g21_9_6  "(-9) Don't know/not sure (Enter 1)"

. label variable g22_1    "G.22. What was the interest rate for this loan? (Percent)"

. label variable g22_2    "G.22. What was the interest rate for this loan? (Percent)"

. label variable g22_3    "G.22. What was the interest rate for this loan? (Percent)"

. label variable g22_4    "G.22. What was the interest rate for this loan? (Percent)"

. label variable g22_5    "G.22. What was the interest rate for this loan? (Percent)"

. label variable g22_6    "G.22. What was the interest rate for this loan? (Percent)"

. label variable g22_9_1  "(-9) Don't know/not sure (Enter 1)"

. label variable g22_9_2  "(-9) Don't know/not sure (Enter 1)"

. label variable g22_9_3  "(-9) Don't know/not sure (Enter 1)"

. label variable g22_9_4  "(-9) Don't know/not sure (Enter 1)"

. label variable g22_9_5  "(-9) Don't know/not sure (Enter 1)"

. label variable g22_9_6  "(-9) Don't know/not sure (Enter 1)"

. label variable g19_95   "-95 Specify if other"

. label variable g23_1    "G.23. Is it possible for households in this village to save money at [SOURCE] no"

. label variable g23_2    "G.23. Is it possible for households in this village to save money at [SOURCE] no"

. label variable g23_3    "G.23. Is it possible for households in this village to save money at [SOURCE] no"

. label variable g24_1    "G.24. Has your household saved money at [SOURCE] in the last year?"

. label variable g24_2    "G.24. Has your household saved money at [SOURCE] in the last year?"

. label variable g24_3    "G.24. Has your household saved money at [SOURCE] in the last year?"

. label variable g25_1    "G.25 How much did your household save at [SOURCE]? (Rupees)"

. label variable g25_2    "G.25 How much did your household save at [SOURCE]? (Rupees)"

. label variable g25_3    "G.25 How much did your household save at [SOURCE]? (Rupees)"

. label variable g25_9_1  "(-9) Don't know/not sure (Enter 1)"

. label variable g25_9_2  "(-9) Don't know/not sure (Enter 1)"

. label variable g25_9_3  "(-9) Don't know/not sure (Enter 1)"

. label variable g26_1_1  "G.26. How much interest do these savings earn? -- Percent per month"

. label variable g26_1_2  "G.26. How much interest do these savings earn? -- Percent per month"

. label variable g26_1_3  "G.26. How much interest do these savings earn? -- Percent per month"

. label variable g26_2_1  "Percent per year"

. label variable g26_2_2  "Percent per year"

. label variable g26_2_3  "Percent per year"

. label variable g26_9_1  "(-9) Don't know/not sure (Enter 1)"

. label variable g26_9_2  "(-9) Don't know/not sure (Enter 1)"

. label variable g26_9_3  "(-9) Don't know/not sure (Enter 1)"

. label variable g23_95   "-95 Specify if other"

. label variable g27      "G.27. Do you or any members of your household participate in any activities for "

. label variable g28_1    "Frequency of participation"

. label variable g28_2    "Frequency of participation"

. label variable g28_3    "Frequency of participation"

. label variable g28_4    "Frequency of participation"

. label variable g28_5    "Frequency of participation"

. label variable g28_6    "Frequency of participation"

. label variable g28_7    "Frequency of participation"

. label variable g28_8    "Frequency of participation"

. label variable g28_95   "-95 Specify if other"

. label variable g29      "G.29. When was the last time anyone from your household attended a Gram Sabha me"

. label variable g29_95   "-95 Specify if other"

. label variable g30_1_01 "Existing and active in the village?"

. label variable g30_1_02 "Existing and active in the village?"

. label variable g30_1_03 "Existing and active in the village?"

. label variable g30_1_04 "Existing and active in the village?"

. label variable g30_1_05 "Existing and active in the village?"

. label variable g30_1_06 "Existing and active in the village?"

. label variable g30_1_07 "Existing and active in the village?"

. label variable g30_1_08 "Existing and active in the village?"

. label variable g30_1_09 "Existing and active in the village?"

. label variable g30_1_10 "Existing and active in the village?"

. label variable g30_1_11 "Existing and active in the village?"

. label variable g30_2_01 "Do your household members particpate in this committee?"

. label variable g30_2_02 "Do your household members particpate in this committee?"

. label variable g30_2_03 "Do your household members particpate in this committee?"

. label variable g30_2_04 "Do your household members particpate in this committee?"

. label variable g30_2_05 "Do your household members particpate in this committee?"

. label variable g30_2_06 "Do your household members particpate in this committee?"

. label variable g30_2_07 "Do your household members particpate in this committee?"

. label variable g30_2_08 "Do your household members particpate in this committee?"

. label variable g30_2_09 "Do your household members particpate in this committee?"

. label variable g30_2_10 "Do your household members particpate in this committee?"

. label variable g30_2_11 "Do your household members particpate in this committee?"

. label variable g30_95   "-95 Specify if other"

. label variable g31      "G.31. Who answered these questions?"

. label variable h1       "H.1. How do you see yourself: are you generally a person who is patient or impat"

. label variable h1_99    "[-99] Refuse to answer (Enter 1)"

. label variable h2       "H.2. Which option would you choose?"

. label variable h3       "H.3. Which option would you choose?"

. label variable h4       "H.4. Which option would you choose?"

. label variable h5       "H.5. How do you see yourself: are you generally a person who is fully prepared t"

. label variable h5_99    "[-99] Refused to answer (Enter 1)"

. label variable h6       "H.6. Which option would you choose?"

. label variable h7       "H.7. Which option would you choose?"

. label variable h8       "H.8. Which option would you choose?"

. label variable i1       "I.1. Did anyone not on the household roster observe the interview?"

. label variable i2a      "I.2. a. Approximately how many different people observed the interview?"

. label variable i2b      "b. Did any of these people observe/help with the respondent during the conjoint "

. label variable i3       "I.3. What is the main material of the walls of the house?"

. label variable i3_95    "-95 Specify if other:"

. label variable i4       "I.4. What is the main material used for the roof of the house?"

. label variable i4_95    "-95 Specify if other"

. label variable i5       "I.5. If observed, what is the main material used for the floor of the house?"

. label variable i5_95    "-95 Specify if other:"

. label variable i6a      "I.6. a. How would you rate the general comprehension of the survey questions by "

. label variable i6b      "b. If 3-5 above, please indicate areas of particular difficulty"

. label variable i_7__how_would_you_rate_the_comp "I.7. How would you rate the comprehension of the conjoint exercise by the respon"

. label variable i8       "I.8. In households that answer only '-9' to G.11 and G.14, please give your opin"

. 
. * Value labels
. #delimit ;
delimiter now ;
. label define A1      
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define A4      
>      1 "[1] Primary cook"
>      2 "[2] Head of household"
> ;

. label define A7      
>      1 "(1) Completed"
>      2 "(2) Refused"
>      3 "(3) Partially completed, return visit not agreed to"
>      4 "(4) People absent for extended period of time"
>      5 "(5) Dwelling empty"
>      6 "(6) Partially completed, return agreed"
>      7 "(7) No eligible person present"
>      8 "(8) Other"
>      9 "(9) Dwelling vacant or address not a dwelling (2nd rounds)"
>     10 "(10) Dwelling destroyed (2nd rounds)"
>     11 "(11) Dwelling not found (2nd rounds)"
>     12 "(12) Dwelling occupied by family not interviewed in earlier round (2nd rounds)"
> ;

. label define A19     
>      0 "[0] No religion"
>      1 "[1] Hindu"
>      2 "[2] Muslim"
>      3 "[3] Christian"
>      4 "[4] Sikh"
>      5 "[5] Buddhist/Neo-Buddhist"
>      6 "[6] Jain"
>      7 "[7] Jewish"
>      8 "[8] Zoroastrian/Parsi"
>    -95 "[-95] Other"
>     -9 "[-9] Don't know/not sure"
> ;

. label define A21     
>      0 "[0] No caste"
>      1 "[1] SC"
>      2 "[2] ST"
>      3 "[3] Nomadic tribe (NT)"
>      4 "[4] OBC"
>      5 "[5] De-notified tribes"
>      6 "[6] Open/general"
>    -95 "[-95] Other"
>     -9 "[-9] Don't know/not sure"
> ;

. label define A22A    
>      1 "[1] Below poverty line (BPL) (White or yellow ration card)"
>      2 "[2] Above poverty line (APL) (Red ration card)"
>     -9 "[-9] Don't know/not sure"
>    -99 "[-99] Refused to answer"
> ;

. label define A22B    
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define A23A    
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define A23B    
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define A24A    
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define A24B    
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define B1      
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define B4      
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define B7
>      1 "Best feature"
>          2 "Second best feature"
> ;

. label define B11     
>      0 "[0] Zero candies in safe pile"
>      1 "[1] One candy in safe pile"
>      2 "[2] Two candies in safe pile"
>      3 "[3] Three candies in safe pile"
>      4 "[4] Four candies in safe pile"
>      5 "[5] Five candies in safe pile"
>      6 "[6] Six candies in safe pile"
>      7 "[7] Seven candies in safe pile"
>      8 "[8] Eight candies in safe pile"
>      9 "[9] Nine candies in safe pile"
>     10 "[10] Ten candies in safe pile"
>    -99 "[-99] Refused to answer"
> ;

. label define B12     
>      1 "[1] Head of household"
>      2 "[2] Primary Cook"
>      3 "[3] Both"
> ;

. label define C3      
>      1 "(1) Yes"
> ;

. label define C4      
>      1 "(1) Male"
>      2 "(2) Female"
> ;

. label define C6      
>      1 "(1) Head"
>      2 "(2) Wife/husband"
>      3 "(3) Child/adopted child"
>      4 "(4) Grandchild"
>      5 "(5) Niece/nephew"
>      6 "(6) Father/mother"
>      7 "(7) Sister/brother"
>      8 "(8) Son/daughter-in-law"
>      9 "(9) Brother/sister-in-law"
>     10 "(10) Grandfather/mother"
>     11 "(11) Father/mother-in-law"
>     12 "(12) Other relative"
>     13 "(13) Servant or servant's relatives"
>     14 "(14) Tenant or tenant's relative"
>    -95 "(-95) Other"
> ;

. label define C7      
>      1 "(1) Married"
>      2 "(2) Divorced"
>      3 "(3) Separated"
>      4 "(4) Widow or widower"
>      5 "(5) Never married"
>     -9 "(-9) Don't know/not sure"
> ;

. label define C10_2   
>      1 "(1) Daily"
>      2 "(2) Monthly"
> ;

. label define C11     
>      0 "(0) Never attended school"
>      1 "(1) Attended but not now"
>      2 "(2) Currently enrolled"
>     -9 "(-9) Don't know/not sure"
> ;

. label define D1      
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know/not sure"
> ;

. label define D2      
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know/not sure"
> ;

. label define D3A     
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know"
> ;

. label define D3B     
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know/not sure"
> ;

. label define D3C     
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know/not sure"
> ;

. label define D3D     
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know/not sure"
> ;

. label define D3E     
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know"
> ;

. label define D3F     
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know/not sure"
> ;

. label define D3G     
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know/not sure"
> ;

. label define D3H     
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know/not sure"
> ;

. label define D7      
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know/not sure"
> ;

. label define D9      
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know/not sure"
> ;

. label define D11     
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know/not sure"
> ;

. label define E1      
>      0 "(0) No"
>      1 "(1) Yes"
> ;

. label define E6      
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define E8      
>      1 "[1] Daily"
>      2 "[2] Few times per week"
>      3 "[3] Rarely"
> ;

. label define E14     
>      0 "(0) No"
>      1 "(1) Yes"
>    -88 "(-88) Observation not possible"
> ;

. label define E17     
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define E18     
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define E19_1   
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define E19_2   
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define E20     
>      1 "[1] Daily"
>      2 "[2] Few times a week"
>      3 "[3] Rarely"
> ;

. label define E21_2   
>      1 "(1) Harvest season"
>      2 "(2) All year"
> ;

. label define E24_2   
>      1 "[1] Day"
>      2 "[2] week"
>      3 "[3] month"
> ;

. label define E25_1   
>      1 "1. Kg(s)"
>      2 "2. Litre(s)"
>      3 "3. Cylinder(s)"
>          4 "4. Piece(s)"
>          5 "5. Trolley(s)"
>          6 "6. Bundle(s)"
> ;

. label define E25_3   
>      1 "[1] day"
>      2 "[2] week"
>      3 "[3] month"
> ;

. label define E27     
>      0 "[0] No -- not a member"
>    -98 "[-98] No -- no women's club or SHG in village"
>      1 "[1] Yes"
> ;

. label define F1      
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define F2A     
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define F2B     
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define F3      
>      1 "[1] Correct answer was given"
>      2 "[2] Incorrect answer was given"
> ;

. label define F4      
>      1 "[1] Correct answer was given"
>      2 "[2] Incorrect answer was given"
> ;

. label define F5      
>      1 "[1] Correct answer was given"
>      2 "[2] Incorrect answer was given"
> ;

. label define F6      
>      1 "[1] Correct answer was given"
>      2 "[2] Incorrect answer was given"
> ;

. label define F7_1    
>      1 "[1] Improved Stove 1"
>      2 "[2] Improved Stove 2"
>      3 "[3] Traditional Chulha"
>     -9 "[-9] Don't know/unsure"
> ;

. label define F8_1    
>      1 "[1] Improved Stove 1"
>      2 "[2] Improved Stove 2"
>      3 "[3] Traditional Chulha"
>     -9 "[-9] Don't know/unsure"
> ;

. label define F8_3    
>      0 "[0] No"
>      1 "[1] Yes"
>     -9 "[-9] Don't know/unsure"
> ;

. label define F9_1    
>      1 "[1] Improved Stove 1"
>      2 "[2] Improved Stove 2"
>      3 "[3] Traditional Chulha"
>     -9 "[-9] Don't know/unsure"
> ;

. label define F9_3    
>      0 "[0] No"
>      1 "[1] Yes"
>     -9 "[-9] Don't know/unsure"
> ;

. label define F10_1   
>      1 "[1] Improved Stove 1"
>      2 "[2] Improved Stove 2"
>      3 "[3] Traditional Chulha"
>     -9 "[-9] Don't know/unsure"
> ;

. label define F10_3   
>      0 "[0] No"
>      1 "[1] Yes"
>     -9 "[-9] Don't know/unsure"
> ;

. label define F12     
>      1 "[1] Head of household"
>      2 "[2] Primary cook"
>      3 "[3] Both"
> ;

. label define G1B     
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define G2      
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define G5      
>      0 "[0] Neither"
>      1 "[1] Own only"
>      2 "[2] Lease only"
>      3 "[3] Own and lease"
> ;

. label define G6B     
>      1 "(1) Acres"
>      2 "(2) Guntha"
>      3 "(3) Hectares"
>      4 "(4) Square feet"
>      5 "(5) Bigha"
>    -95 "(-95) Other"
> ;

. label define G15     
>      1 "[1] Within last 2 weeks"
>      2 "[2] Within last month"
>      3 "[3] Within last 6 months"
>      4 "[4] Within last year"
>      5 "[5] Within last 6 years"
>      6 "[6] Not in the last 6 years"
>     -9 "[-9] Don't know/not sure"
> ;

. label define G18A    
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know/not sure"
> ;

. label define G18B    
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know/not sure"
> ;

. label define G19D    
>      1 "(1) Monthly"
>      2 "(2) Quarterly"
>      3 "(3) Every 6 months"
>      4 "(4) Yearly"
>      5 "(5) Once in a lifetime"
>     -9 "(-9) Don't know/not sure"
> ;

. label define G19     
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know/not sure"
> ;

. label define G23     
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know/not sure"
> ;

. label define G24     
>      0 "(0) No"
>      1 "(1) Yes"
>     -9 "(-9) Don't know/not sure"
> ;

. label define G27     
>      0 "(0) No"
>      1 "(1) Yes"
> ;

. label define G28     
>      0 "(0) Never"
>      1 "(1) One time"
>      2 "(2) Repetitive"
> ;

. label define G29     
>      0 "[0] Never attended"
>      1 "[1] This week"
>      2 "[2] Past two weeks"
>      3 "[3] Within the last month"
>      4 "[4] Within the last 6 months"
>      5 "[5] Within the last year"
>    -95 "[-95] Other"
>     -9 "[-9] Don't know/not sure"
> ;

. label define G30_1   
>      0 "(0) No"
>      1 "(1) Yes"
> ;

. label define G30_2   
>      0 "(0) No"
>      1 "(1) Yes"
> ;

. label define G31     
>      1 "[1] Head of household"
>      2 "[2] Primary cook"
>      3 "[3] Both"
> ;

. label define H2      
>      1 "[1] Option A"
>      2 "[2] Option B"
>     -9 "[-9] Uncertain"
> ;

. label define H3      
>      1 "[1] Option A"
>      2 "[2] Option B"
>     -9 "[-9] Uncertain"
> ;

. label define H4      
>      1 "[1] Option A"
>      2 "[2] Option B"
>     -9 "[-9] Uncertain"
> ;

. label define H6      
>      1 "[1] Option A"
>      2 "[2] Option B"
>     -9 "[-9] Uncertain"
> ;

. label define H7      
>      1 "[1] Option A"
>      2 "[2] Option B"
>     -9 "[-9] Uncertain"
> ;

. label define H8      
>      1 "[1] Option A"
>      2 "[2] Option B"
>     -9 "[-9] Uncertain"
> ;

. label define I1      
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. label define I2B     
>      0 "[0] No"
>      1 "[1] Yes"
> ;

. #delimit cr
delimiter now cr
. label values a1       A1      

. label values a4       A4      

. label values a7_1     A7      

. label values a7_2     A7      

. label values a7_3     A7      

. label values a19      A19     

. label values a21      A21     

. label values a22a     A22A    

. label values a22b     A22B    

. label values a23a     A23A    

. label values a23b     A23B    

. label values a24a     A24A    

. label values a24b     A24B    

. label values b1_1     B1      

. label values b1_2     B1      

. label values b1_3     B1      

. label values b4_1     B4      

. label values b4_2     B4      

. label values b4_3     B4

. label values b7_01    B7      

. label values b7_02        B7

. label values b7_03    B7

. label values b7_04    B7

. label values b7_05    B7

. label values b7_06    B7

. label values b7_07    B7

. label values b7_08    B7

. label values b7_09    B7

. label values b7_10    B7

. label values b7_11    B7

. label values b7_12    B7

. label values b7_13    B7

. /*      The following are responses for "Other" and contain string values; labelling not applicable.
>         label values b7_14    B7
>         *label values b7_14_2    B7
>         *label values b7_15_2   B7
>         *label values b7_15    B7
> */
. label values b11      B11     

. label values b12      B12     

. label values c3_01    C3      

. label values c3_02    C3      

. label values c3_03    C3      

. label values c3_04    C3      

. label values c3_05    C3      

. label values c3_06    C3      

. label values c3_07    C3      

. label values c3_08    C3      

. label values c3_09    C3      

. label values c3_10    C3      

. label values c3_11    C3      

. label values c3_12    C3      

. label values c3_13    C3      

. label values c3_14    C3      

. label values c3_15    C3      

. label values c3_16    C3      

. label values c3_17    C3      

. label values c3_18    C3      

. label values c3_19    C3      

. label values c3_20    C3      

. label values c4_01    C4      

. label values c4_02    C4      

. label values c4_03    C4      

. label values c4_04    C4      

. label values c4_05    C4      

. label values c4_06    C4      

. label values c4_07    C4      

. label values c4_08    C4      

. label values c4_09    C4      

. label values c4_10    C4      

. label values c4_11    C4      

. label values c4_12    C4      

. label values c4_13    C4      

. label values c4_14    C4      

. label values c4_15    C4      

. label values c4_16    C4      

. label values c4_17    C4      

. label values c4_18    C4      

. label values c4_19    C4      

. label values c4_20    C4      

. label values c6_01    C6      

. label values c6_02    C6      

. label values c6_03    C6      

. label values c6_04    C6      

. label values c6_05    C6      

. label values c6_06    C6      

. label values c6_07    C6      

. label values c6_08    C6      

. label values c6_09    C6      

. label values c6_10    C6      

. label values c6_11    C6      

. label values c6_12    C6      

. label values c6_13    C6      

. label values c6_14    C6      

. label values c6_15    C6      

. label values c6_16    C6      

. label values c6_17    C6      

. label values c6_18    C6      

. label values c6_19    C6      

. label values c6_20    C6      

. label values c7_01    C7      

. label values c7_02    C7      

. label values c7_03    C7      

. label values c7_04    C7      

. label values c7_05    C7      

. label values c7_06    C7      

. label values c7_07    C7      

. label values c7_08    C7      

. label values c7_09    C7      

. label values c7_10    C7      

. label values c7_11    C7      

. label values c7_12    C7      

. label values c7_13    C7      

. label values c7_14    C7      

. label values c7_15    C7      

. label values c7_16    C7      

. label values c7_17    C7      

. label values c7_18    C7      

. label values c7_19    C7      

. label values c7_20    C7      

. label values c10_2_01 C10_2   

. label values c10_2_02 C10_2   

. label values c10_2_03 C10_2   

. label values c10_2_04 C10_2   

. label values c10_2_05 C10_2   

. label values c10_2_06 C10_2   

. label values c10_2_07 C10_2   

. label values c10_2_08 C10_2   

. label values c10_2_09 C10_2   

. label values c10_2_10 C10_2   

. label values c10_2_11 C10_2   

. label values c10_2_12 C10_2   

. label values c10_2_13 C10_2   

. label values c10_2_14 C10_2   

. label values c10_2_15 C10_2   

. label values c10_2_16 C10_2   

. label values c10_2_17 C10_2   

. label values c10_2_18 C10_2   

. label values c10_2_19 C10_2   

. label values c10_2_20 C10_2   

. label values c11_01   C11     

. label values c11_02   C11     

. label values c11_03   C11     

. label values c11_04   C11     

. label values c11_05   C11     

. label values c11_06   C11     

. label values c11_07   C11     

. label values c11_08   C11     

. label values c11_09   C11     

. label values c11_10   C11     

. label values c11_11   C11     

. label values c11_12   C11     

. label values c11_13   C11     

. label values c11_14   C11     

. label values c11_15   C11     

. label values c11_16   C11     

. label values c11_17   C11     

. label values c11_18   C11     

. label values c11_19   C11     

. label values c11_20   C11     

. label values d1_01    D1      

. label values d1_02    D1      

. label values d1_03    D1      

. label values d1_04    D1      

. label values d1_05    D1      

. label values d1_06    D1      

. label values d1_07    D1      

. label values d1_08    D1      

. label values d1_09    D1      

. label values d1_10    D1      

. label values d1_11    D1      

. label values d1_12    D1      

. label values d1_13    D1      

. label values d1_14    D1      

. label values d1_15    D1      

. label values d1_16    D1      

. label values d1_17    D1      

. label values d1_18    D1      

. label values d1_19    D1      

. label values d1_20    D1      

. label values d2_01    D2      

. label values d2_02    D2      

. label values d2_03    D2      

. label values d2_04    D2      

. label values d2_05    D2      

. label values d2_06    D2      

. label values d2_07    D2      

. label values d2_08    D2      

. label values d2_09    D2      

. label values d2_10    D2      

. label values d2_11    D2      

. label values d2_12    D2      

. label values d2_13    D2      

. label values d2_14    D2      

. label values d2_15    D2      

. label values d2_16    D2      

. label values d2_17    D2      

. label values d2_18    D2      

. label values d2_19    D2      

. label values d2_20    D2      

. label values d3a_01   D3A     

. label values d3a_02   D3A     

. label values d3a_03   D3A     

. label values d3a_04   D3A     

. label values d3a_05   D3A     

. label values d3a_06   D3A     

. label values d3a_07   D3A     

. label values d3a_08   D3A     

. label values d3a_09   D3A     

. label values d3a_10   D3A     

. label values d3a_11   D3A     

. label values d3a_12   D3A     

. label values d3a_13   D3A     

. label values d3a_14   D3A     

. label values d3a_15   D3A     

. label values d3a_16   D3A     

. label values d3a_17   D3A     

. label values d3a_18   D3A     

. label values d3a_19   D3A     

. label values d3a_20   D3A     

. label values d3b_01   D3B     

. label values d3b_02   D3B     

. label values d3b_03   D3B     

. label values d3b_04   D3B     

. label values d3b_05   D3B     

. label values d3b_06   D3B     

. label values d3b_07   D3B     

. label values d3b_08   D3B     

. label values d3b_09   D3B     

. label values d3b_10   D3B     

. label values d3b_11   D3B     

. label values d3b_12   D3B     

. label values d3b_13   D3B     

. label values d3b_14   D3B     

. label values d3b_15   D3B     

. label values d3b_16   D3B     

. label values d3b_17   D3B     

. label values d3b_18   D3B     

. label values d3b_19   D3B     

. label values d3b_20   D3B     

. label values d3c_01   D3C     

. label values d3c_02   D3C     

. label values d3c_03   D3C     

. label values d3c_04   D3C     

. label values d3c_05   D3C     

. label values d3c_06   D3C     

. label values d3c_07   D3C     

. label values d3c_08   D3C     

. label values d3c_09   D3C     

. label values d3c_10   D3C     

. label values d3c_11   D3C     

. label values d3c_12   D3C     

. label values d3c_13   D3C     

. label values d3c_14   D3C     

. label values d3c_15   D3C     

. label values d3c_16   D3C     

. label values d3c_17   D3C     

. label values d3c_18   D3C     

. label values d3c_19   D3C     

. label values d3c_20   D3C     

. label values d3d_01   D3D     

. label values d3d_02   D3D     

. label values d3d_03   D3D     

. label values d3d_04   D3D     

. label values d3d_05   D3D     

. label values d3d_06   D3D     

. label values d3d_07   D3D     

. label values d3d_08   D3D     

. label values d3d_09   D3D     

. label values d3d_10   D3D     

. label values d3d_11   D3D     

. label values d3d_12   D3D     

. label values d3d_13   D3D     

. label values d3d_14   D3D     

. label values d3d_15   D3D     

. label values d3d_16   D3D     

. label values d3d_17   D3D     

. label values d3d_18   D3D     

. label values d3d_19   D3D     

. label values d3d_20   D3D     

. label values d3e_01   D3E     

. label values d3e_02   D3E     

. label values d3e_03   D3E     

. label values d3e_04   D3E     

. label values d3e_05   D3E     

. label values d3e_06   D3E     

. label values d3e_07   D3E     

. label values d3e_08   D3E     

. label values d3e_09   D3E     

. label values d3e_10   D3E     

. label values d3e_11   D3E     

. label values d3e_12   D3E     

. label values d3e_13   D3E     

. label values d3e_14   D3E     

. label values d3e_15   D3E     

. label values d3e_16   D3E     

. label values d3e_17   D3E     

. label values d3e_18   D3E     

. label values d3e_19   D3E     

. label values d3e_20   D3E     

. label values d3f_01   D3F     

. label values d3f_02   D3F     

. label values d3f_03   D3F     

. label values d3f_04   D3F     

. label values d3f_05   D3F     

. label values d3f_06   D3F     

. label values d3f_07   D3F     

. label values d3f_08   D3F     

. label values d3f_09   D3F     

. label values d3f_10   D3F     

. label values d3f_11   D3F     

. label values d3f_12   D3F     

. label values d3f_13   D3F     

. label values d3f_14   D3F     

. label values d3f_15   D3F     

. label values d3f_16   D3F     

. label values d3f_17   D3F     

. label values d3f_18   D3F     

. label values d3f_19   D3F     

. label values d3f_20   D3F     

. label values d3g_01   D3G     

. label values d3g_02   D3G     

. label values d3g_03   D3G     

. label values d3g_04   D3G     

. label values d3g_05   D3G     

. label values d3g_06   D3G     

. label values d3g_07   D3G     

. label values d3g_08   D3G     

. label values d3g_09   D3G     

. label values d3g_10   D3G     

. label values d3g_11   D3G     

. label values d3g_12   D3G     

. label values d3g_13   D3G     

. label values d3g_14   D3G     

. label values d3g_15   D3G     

. label values d3g_16   D3G     

. label values d3g_17   D3G     

. label values d3g_18   D3G     

. label values d3g_19   D3G     

. label values d3g_20   D3G     

. label values d3h_01   D3H     

. label values d3h_02   D3H     

. label values d3h_03   D3H     

. label values d3h_04   D3H     

. label values d3h_05   D3H     

. label values d3h_06   D3H     

. label values d3h_07   D3H     

. label values d3h_08   D3H     

. label values d3h_09   D3H     

. label values d3h_10   D3H     

. label values d3h_11   D3H     

. label values d3h_12   D3H     

. label values d3h_13   D3H     

. label values d3h_14   D3H     

. label values d3h_15   D3H     

. label values d3h_16   D3H     

. label values d3h_17   D3H     

. label values d3h_18   D3H     

. label values d3h_19   D3H     

. label values d3h_20   D3H     

. label values d7_01    D7      

. label values d7_02    D7      

. label values d7_03    D7      

. label values d7_04    D7      

. label values d7_05    D7      

. label values d7_06    D7      

. label values d7_07    D7      

. label values d7_08    D7      

. label values d7_09    D7      

. label values d7_10    D7      

. label values d7_11    D7      

. label values d7_12    D7      

. label values d7_13    D7      

. label values d7_14    D7      

. label values d7_15    D7      

. label values d7_16    D7      

. label values d7_17    D7      

. label values d7_18    D7      

. label values d7_19    D7      

. label values d7_20    D7      

. label values d9_01    D9      

. label values d9_02    D9      

. label values d9_03    D9      

. label values d9_04    D9      

. label values d9_05    D9      

. label values d9_06    D9      

. label values d9_07    D9      

. label values d9_08    D9      

. label values d9_09    D9      

. label values d9_10    D9      

. label values d9_11    D9      

. label values d9_12    D9      

. label values d9_13    D9      

. label values d9_14    D9      

. label values d9_15    D9      

. label values d9_16    D9      

. label values d9_17    D9      

. label values d9_18    D9      

. label values d9_19    D9      

. label values d9_20    D9      

. label values d11_01   D11     

. label values d11_02   D11     

. label values d11_03   D11     

. label values d11_04   D11     

. label values d11_05   D11     

. label values d11_06   D11     

. label values d11_07   D11     

. label values d11_08   D11     

. label values d11_09   D11     

. label values d11_10   D11     

. label values d11_11   D11     

. label values d11_12   D11     

. label values d11_13   D11     

. label values d11_14   D11     

. label values d11_15   D11     

. label values d11_16   D11     

. label values d11_17   D11     

. label values d11_18   D11     

. label values d11_19   D11     

. label values d11_20   D11     

. label values e1_01    E1      

. label values e1_02    E1      

. label values e1_03    E1      

. label values e1_04    E1      

. label values e1_05    E1      

. label values e1_06    E1      

. label values e1_07    E1      

. label values e1_08    E1      

. label values e1_09    E1      

. label values e1_10    E1      

. label values e1_11    E1      

. label values e1_12    E1      

. label values e6_01    E6      

. label values e6_02    E6      

. label values e6_03    E6      

. label values e6_04    E6      

. label values e6_05    E6      

. label values e6_06    E6      

. label values e6_07    E6      

. label values e6_08    E6      

. label values e6_09    E6      

. label values e6_10    E6      

. label values e6_11    E6      

. label values e6_12    E6      

. label values e8_01    E8      

. label values e8_02    E8      

. label values e8_03    E8      

. label values e8_04    E8      

. label values e8_05    E8      

. label values e8_06    E8      

. label values e8_07    E8      

. label values e8_08    E8      

. label values e8_09    E8      

. label values e8_10    E8      

. label values e8_11    E8      

. label values e8_12    E8      

. label values e14_01   E14     

. label values e14_02   E14     

. label values e14_03   E14     

. label values e14_04   E14     

. label values e14_05   E14     

. label values e14_06   E14     

. label values e14_07   E14     

. label values e14_08   E14     

. label values e14_09   E14     

. label values e14_10   E14     

. label values e14_11   E14     

. label values e14_12   E14     

. label values e17      E17     

. label values e18_01   E18     

. label values e18_02   E18     

. label values e18_03   E18     

. label values e18_04   E18     

. label values e18_05   E18     

. label values e18_06   E18     

. label values e18_07   E18     

. label values e18_08   E18     

. label values e18_09   E18     

. label values e18_10   E18     

. label values e19_1_01 E19_1   

. label values e19_1_02 E19_1   

. label values e19_1_03 E19_1   

. label values e19_1_04 E19_1   

. label values e19_1_05 E19_1   

. label values e19_1_06 E19_1   

. label values e19_1_07 E19_1   

. label values e19_1_08 E19_1   

. label values e19_1_09 E19_1   

. label values e19_1_10 E19_1   

. label values e19_2_01 E19_2   

. label values e19_2_02 E19_2   

. label values e19_2_03 E19_2   

. label values e19_2_04 E19_2   

. label values e19_2_05 E19_2   

. label values e19_2_06 E19_2   

. label values e19_2_07 E19_2   

. label values e19_2_08 E19_2   

. label values e19_2_09 E19_2   

. label values e19_2_10 E19_2   

. label values e20_01   E20     

. label values e20_02   E20     

. label values e20_03   E20     

. label values e20_04   E20     

. label values e20_05   E20     

. label values e20_06   E20     

. label values e20_07   E20     

. label values e20_08   E20     

. label values e20_09   E20     

. label values e20_10   E20     

. label values e21_2_01 E21_2   

. label values e21_2_02 E21_2   

. label values e21_2_03 E21_2   

. label values e21_2_04 E21_2   

. label values e21_2_05 E21_2   

. label values e21_2_06 E21_2   

. label values e21_2_07 E21_2   

. label values e21_2_08 E21_2   

. label values e21_2_09 E21_2   

. label values e21_2_10 E21_2   

. label values e24_2_01 E24_2   

. label values e24_2_02 E24_2   

. label values e24_2_03 E24_2   

. label values e24_2_04 E24_2   

. label values e24_2_05 E24_2   

. label values e24_2_06 E24_2   

. label values e24_2_07 E24_2   

. label values e24_2_08 E24_2   

. label values e24_2_09 E24_2   

. label values e24_2_10 E24_2   

. label values e25_1_01 E25_1   

. label values e25_1_02 E25_1   

. label values e25_1_03 E25_1   

. label values e25_1_04 E25_1   

. label values e25_1_05 E25_1   

. label values e25_1_06 E25_1   

. label values e25_1_07 E25_1   

. label values e25_1_08 E25_1   

. label values e25_1_09 E25_1   

. label values e25_1_10 E25_1   

. label values e25_3_01 E25_3   

. label values e25_3_02 E25_3   

. label values e25_3_03 E25_3   

. label values e25_3_04 E25_3   

. label values e25_3_05 E25_3   

. label values e25_3_06 E25_3   

. label values e25_3_07 E25_3   

. label values e25_3_08 E25_3   

. label values e25_3_09 E25_3   

. label values e25_3_10 E25_3   

. label values e27      E27     

. label values f1       F1      

. label values f2a      F2A     

. label values f2b      F2B     

. label values f3       F3      

. label values f4       F4      

. label values f5       F5      

. label values f6       F6      

. label values f7_1     F7_1    

. label values f8_1     F8_1    

. label values f8_3     F8_3    

. label values f9_1     F9_1    

. label values f9_3     F9_3    

. label values f10_1    F10_1   

. label values f10_3    F10_3   

. label values f12      F12     

. label values g1b      G1B     

. label values g2       G2      

. label values g5       G5      

. label values g6b_1    G6B     

. label values g6b_2    G6B     

. label values g15      G15     

. label values g18a_01  G18A    

. label values g18a_02  G18A    

. label values g18a_03  G18A    

. label values g18a_04  G18A    

. label values g18a_05  G18A    

. label values g18a_06  G18A    

. label values g18a_07  G18A    

. label values g18a_08  G18A    

. label values g18a_09  G18A    

. label values g18a_10  G18A    

. label values g18a_11  G18A    

. label values g18a_12  G18A    

. label values g18a_13  G18A    

. label values g18a_14  G18A    

. label values g18a_15  G18A    

. label values g18b_01  G18B    

. label values g18b_02  G18B    

. label values g18b_03  G18B    

. label values g18b_04  G18B    

. label values g18b_05  G18B    

. label values g18b_06  G18B    

. label values g18b_07  G18B    

. label values g18b_08  G18B    

. label values g18b_09  G18B    

. label values g18b_10  G18B    

. label values g18b_11  G18B    

. label values g18b_12  G18B    

. label values g18b_13  G18B    

. label values g18b_14  G18B    

. label values g18b_15  G18B    

. label values g18d_01  G19D    

. label values g18d_02  G19D    

. label values g18d_03  G19D    

. label values g18d_04  G19D    

. label values g18d_05  G19D    

. label values g18d_06  G19D    

. label values g18d_07  G19D    

. label values g18d_08  G19D    

. label values g18d_09  G19D    

. label values g18d_10  G19D    

. label values g18d_11  G19D    

. label values g18d_12  G19D    

. label values g18d_13  G19D    

. label values g18d_14  G19D    

. label values g18d_15  G19D    

. label values g19_1    G19     

. label values g19_2    G19     

. label values g19_3    G19     

. label values g19_4    G19     

. label values g19_5    G19     

. label values g19_6    G19     

. label values g23_1    G23     

. label values g23_2    G23     

. label values g23_3    G23     

. label values g24_1    G24     

. label values g24_2    G24     

. label values g24_3    G24     

. label values g27      G27     

. label values g28_1    G28     

. label values g28_2    G28     

. label values g28_3    G28     

. label values g28_4    G28     

. label values g28_5    G28     

. label values g28_6    G28     

. label values g28_7    G28     

. label values g28_8    G28     

. label values g29      G29     

. label values g30_1_01 G30_1   

. label values g30_1_02 G30_1   

. label values g30_1_03 G30_1   

. label values g30_1_04 G30_1   

. label values g30_1_05 G30_1   

. label values g30_1_06 G30_1   

. label values g30_1_07 G30_1   

. label values g30_1_08 G30_1   

. label values g30_1_09 G30_1   

. label values g30_1_10 G30_1   

. label values g30_1_11 G30_1   

. label values g30_2_01 G30_2   

. label values g30_2_02 G30_2   

. label values g30_2_03 G30_2   

. label values g30_2_04 G30_2   

. label values g30_2_05 G30_2   

. label values g30_2_06 G30_2   

. label values g30_2_07 G30_2   

. label values g30_2_08 G30_2   

. label values g30_2_09 G30_2   

. label values g30_2_10 G30_2   

. label values g30_2_11 G30_2   

. label values g31      G31     

. label values h2       H2      

. label values h3       H3      

. label values h4       H4      

. label values h6       H6      

. label values h7       H7      

. label values h8       H8      

. label values i1       I1      

. replace i2b = "" if i2b == "A"
(2 real changes made)

. destring i2b, replace
i2b: all characters numeric; replaced as byte
(1512 missing values generated)

. label values i2b      I2B 

. 
. * Creating unique household IDs
. egen id = group(questionnaire_no)

. bysort id: gen dup = _n

. bysort id: egen dup1 = max(dup)

. 
. * Number of unique village name(s) within each set of survey id
. bysort id: egen nvillage = nvals(village)

. 
. * Tag double-entered surveys that have different village names on each of the two entries
. gen discrep = 1 if nvillage == 2 & dup1 == 2
(2,610 missing values generated)

. list village a2 if discrep == 1

      +------------------------+
      |         village     a2 |
      |------------------------|
 186. |          Mohmau    187 |
 187. |      Akhiyarpur    187 |
 309. |         Sambhai    310 |
 310. |         Harimau    310 |
 377. |         Qadipur    378 |
      |------------------------|
 378. |         Sambhai    378 |
 463. |         Qadipur    463 |
 464. |        Sohyouli    707 |
 956. |        Imligaon    957 |
 957. |           Semra    957 |
      |------------------------|
1255. |        Paniyali   1257 |
1256. | Saliyakot Malla   1257 |
2087. |         Tachani   1803 |
2088. |         Mantoli   1803 |
2089. |         Tachani   1804 |
      |------------------------|
2090. |         Mantoli   1804 |
2091. |         Tachani   1805 |
2092. |         Mantoli   1805 |
2093. |         Mantoli   1806 |
2094. |         Tachani   1806 |
      |------------------------|
2095. |         Mantoli   1807 |
2096. |         Tachani   1807 |
2097. |         Tachani   1808 |
2098. |         Mantoli   1808 |
2102. |         Tachani   1810 |
      |------------------------|
2103. |         Mantoli   1810 |
2104. |         Tachani   1811 |
2105. |         Mantoli   1811 |
2115. |         Mantoli   1815 |
2116. |         Tachani   1815 |
      |------------------------|
2117. |         Mantoli   1816 |
2118. |         Tachani   1816 |
2119. |         Mantoli   1817 |
2120. |         Tachani   1817 |
2121. |         Tachani   1818 |
      |------------------------|
2122. |         Mantoli   1818 |
2123. |         Tachani   1819 |
2124. |         Mantoli   1819 |
2125. |          Mankot   1820 |
2126. |         Mantoli   1820 |
      |------------------------|
2127. |         Mantoli   1821 |
2128. |          Mankot   1821 |
2129. |          Mankot   1822 |
2130. |         Mantoli   1822 |
2131. |         Mantoli   1823 |
      |------------------------|
2132. |          Mankot   1823 |
2133. |          Mankot   1824 |
2134. |         Mantoli   1824 |
2147. |          Matena   1829 |
2148. |          Ramari   1829 |
      |------------------------|
2149. |          Ramari   1830 |
2150. |          Matena   1830 |
2151. |          Ramari   1831 |
2152. |          Matena   1831 |
2601. |      Maluwatal    2112 |
      |------------------------|
2602. |       Maluwatal   2112 |
      +------------------------+

. 
. * Confirms that there are at most two unique village names regardless of the number of times survey IDS are repeated
. tab nvillage dup1

           |                    dup1
  nvillage |         1          2          3          4 |     Total
-----------+--------------------------------------------+----------
         1 |     1,490      1,020          0          0 |     2,510 
         2 |         0         56         84         16 |       156 
-----------+--------------------------------------------+----------
     Total |     1,490      1,076         84         16 |     2,666 

. 
. * Number of times the village name only appeared within that ID
. bysort id village: gen ntvillage = _n

. bysort id village: egen ntvillage1 = max(ntvillage)

. 
. * Identify which survey warrants an ID of its own for those survey IDs repeated thrice
. gen needunique = 1 if dup1 == 3 & ntvillage1 == 1
(2,638 missing values generated)

. 
. * Merge caste data before renaming household ID
. tab a21

       A.21. What is the |
     government assigned |
 category of your caste? |      Freq.     Percent        Cum.
-------------------------+-----------------------------------
             [-95] Other |         70        2.63        2.63
[-9] Don't know/not sure |        213        8.00       10.63
            [0] No caste |          1        0.04       10.67
                  [1] SC |        680       25.54       36.21
                  [2] ST |         17        0.64       36.85
                 [4] OBC |        254        9.54       46.39
  [5] De-notified tribes |          1        0.04       46.43
        [6] Open/general |      1,426       53.57      100.00
-------------------------+-----------------------------------
                   Total |      2,662      100.00

. rename a21 caste

. merge m:1 questionnaire_no using "${data}r0_baseline_missingcaste.dta", keepusing(newcastecode) gen(_merge_caste)

    Result                           # of obs.
    -----------------------------------------
    not matched                         2,384
        from master                     2,384  (_merge_caste==1)
        from using                          0  (_merge_caste==2)

    matched                               282  (_merge_caste==3)
    -----------------------------------------

. replace caste = newcastecode if newcastecode != . 
(280 real changes made)

. replace caste = 6 if questionnaire_no == 461
(1 real change made)

. replace caste = 1 if questionnaire_no == 462
(0 real changes made)

. drop newcastecode 

. gen scheduled_caste = 0

. replace scheduled_caste = 1 if caste == 1
(710 real changes made)

. label var scheduled_caste "Household caste is scheduled caste"

. gen scheduled_tribe = 0

. replace scheduled_tribe = 1 if caste == 2
(18 real changes made)

. label var scheduled_tribe "Household caste is scheduled tribe"

. 
. * Generate final household ID 
. keep if ntvillage == 1
(546 observations deleted)

. gen finalid = _n

. order finalid

. list questionnaire_no a14b a15 a16 a20  if caste == -9 | caste == -95, separator(0) noobs clean

    questi~o   a14b                         a15   a16                         a20  
         125      6   Irshad                        .                          -9  
         198     26   Vishambar                     .                              
         463     16   Bandri Prasad                 .   Jay Kashyap                
         463     29   Ram Ujage                     .   Harjan                     

. ren questionnaire_no hh_idOLD

. label var hh_idOLD "original hh_ID only included to match to original surveys"

. rename finalid hh_id

. 
. * Survey date
. *ssc install nsplit, replace
. nsplit a5_1, digits(2, 2, 2)
note: values of a5_1 vary in length

. order a5_11 a5_12 a5_13, a(a5_1)

. ren a5_11 day

. ren a5_12 month

. ren a5_13 year

. label var year "Year of survey completion"

. label var month "Month of survey completion"

. label var day "Day of survey completion"

. replace year = year + 2000
variable year was byte now int
(2,120 real changes made)

. list a5_1 day month year in 1/50

     +-----------------------------+
     |   a5_1   day   month   year |
     |-----------------------------|
  1. | 110612    11       6   2012 |
  2. | 110612    11       6   2012 |
  3. | 110612    11       6   2012 |
  4. | 110612    11       6   2012 |
  5. | 110612    11       6   2012 |
     |-----------------------------|
  6. | 110612    11       6   2012 |
  7. | 110612    11       6   2012 |
  8. | 110612    11       6   2012 |
  9. | 120612    12       6   2012 |
 10. | 110612    11       6   2012 |
     |-----------------------------|
 11. | 110612    11       6   2012 |
 12. | 110612    11       6   2012 |
 13. | 110612    11       6   2012 |
 14. | 110612    11       6   2012 |
 15. | 110612    11       6   2012 |
     |-----------------------------|
 16. | 110612    11       6   2012 |
 17. | 110612    11       6   2012 |
 18. | 110612    11       6   2012 |
 19. | 110612    11       6   2012 |
 20. | 110612    11       6   2012 |
     |-----------------------------|
 21. | 110612    11       6   2012 |
 22. | 110612    11       6   2012 |
 23. | 110612    11       6   2012 |
 24. | 110612    11       6   2012 |
 25. | 110612    11       6   2012 |
     |-----------------------------|
 26. | 110612    11       6   2012 |
 27. | 130612    13       6   2012 |
 28. | 130612    13       6   2012 |
 29. | 110612    11       6   2012 |
 30. | 110612    11       6   2012 |
     |-----------------------------|
 31. | 110612    11       6   2012 |
 32. | 110612    11       6   2012 |
 33. | 130612    13       6   2012 |
 34. | 110612    11       6   2012 |
 35. | 110612    11       6   2012 |
     |-----------------------------|
 36. | 110612    11       6   2012 |
 37. | 140612    14       6   2012 |
 38. | 120612    12       6   2012 |
 39. | 110612    11       6   2012 |
 40. | 110612    11       6   2012 |
     |-----------------------------|
 41. | 110612    11       6   2012 |
 42. | 120612    12       6   2012 |
 43. | 110612    11       6   2012 |
 44. | 120612    12       6   2012 |
 45. | 110612    11       6   2012 |
     |-----------------------------|
 46. | 110612    11       6   2012 |
 47. | 110612    11       6   2012 |
 48. | 120612    12       6   2012 |
 49. | 120612    12       6   2012 |
 50. | 120612    12       6   2012 |
     +-----------------------------+

. generate date = mdy(month, day, year)

. order date, a(a5_1)

. 
. * Fix five households missing GP code
. list hh_id a14a if a14b == .                    // 277, 501, 913, 1086, 2005

      +-----------------------------------+
      | hh_id                        a14a |
      |-----------------------------------|
 277. |   277   Ghirwar Singh Ka Purwa    |
 501. |   501                             |
 913. |   913   Imali Gaon                |
1086. |  1086   Chhatola                  |
2005. |  2005   Suyalbadi                 |
      +-----------------------------------+

. replace a14b = 63 if hh_id == 1086      // Chhatola; original survey ID = 1129
(1 real change made)

. replace a14b = 7 if hh_id == 277                // Ghirwar Singh Ka Purwa; original survey ID = 280
(1 real change made)

. replace a14b = 14 if hh_id == 913       // Imali Gaon; original survey ID = 923.
(1 real change made)

. replace a14b = 56 if hh_id == 2005      // Suyalbadi; original survey ID = 2027
(1 real change made)

. replace a14b = 8 if hh_id == 501                // Basurahi; original survey ID = 503
(1 real change made)

. 
. * Various NGO strata variables
. gen chirag_strata = 1 if (a14b==50|a14b==51|a14b==52|a14b==53|a14b==54|a14b==55|a14b==56|a14b==57|a14b==58|a14b==59|a14b==60|a14b==61|a14b==62|a
> 14b==63|a14b==64|a14b==65|a14b==66|a14b==67|a14b==68)
(1,588 missing values generated)

. replace chirag_strata = 0 if (a14b==69|a14b==70|a14b==71|a14b==72|a14b==73|a14b==74|a14b==75|a14b==76|a14b==77|a14b==78|a14b==79|a14b==80|a14b==
> 81|a14b==82|a14b==83|a14b==84|a14b==85|a14b==86|a14b==87|a14b==6|a14b==7|a14b==8|a14b==9|a14b==10|a14b==11|a14b==12|a14b==13|a14b==14|a14b==15|a
> 14b==16|a14b==17|a14b==18|a14b==19|a14b==20|a14b==21|a14b==22|a14b==23|a14b==24|a14b==25|a14b==26|a14b==27|a14b==28|a14b==29|a14b==30|a14b==31|a
> 14b==32|a14b==33)
(1,588 real changes made)

. gen teri_strata = 1 if (a14b==58|a14b==63|a14b==64|a14b==66|a14b==7|a14b==12|a14b==13|a14b==14|a14b==15|a14b==16|a14b==17|a14b==19|a14b==20|a14b
> ==21|a14b==23|a14b==24|a14b==25|a14b==33)
(1,482 missing values generated)

. replace teri_strata = 0 if (a14b==50|a14b==51|a14b==52|a14b==53|a14b==54|a14b==55|a14b==56|a14b==57|a14b==59|a14b==60|a14b==61|a14b==62|a14b==65
> |a14b==67|a14b==68|a14b==69|a14b==70|a14b==71|a14b==72|a14b==73|a14b==74|a14b==75|a14b==76|a14b==77|a14b==78|a14b==79|a14b==80|a14b==81|a14b==82
> |a14b==83|a14b==84|a14b==85|a14b==86|a14b==87|a14b==6|a14b==8|a14b==9|a14b==10|a14b==11|a14b==18|a14b==22|a14b==26|a14b==27|a14b==28|a14b==29|a1
> 4b==30|a14b==31|a14b==32)
(1,482 real changes made)

. gen control_strata = 1 if (a14b==69|a14b==70|a14b==71|a14b==72|a14b==73|a14b==74|a14b==75|a14b==76|a14b==77|a14b==78|a14b==79|a14b==80|a14b==81|
> a14b==82|a14b==83|a14b==84|a14b==85|a14b==86|a14b==87|a14b==6|a14b==8|a14b==10|a14b==11|a14b==18|a14b==22|a14b==26|a14b==27|a14b==28|a14b==29|a1
> 4b==30|a14b==31|a14b==32)
(1,086 missing values generated)

. replace control_strata = 0 if (a14b==50|a14b==51|a14b==52|a14b==53|a14b==54|a14b==55|a14b==56|a14b==57|a14b==58|a14b==59|a14b==60|a14b==61|a14b=
> =62|a14b==63|a14b==64|a14b==65|a14b==66|a14b==67|a14b==68|a14b==7|a14b==9|a14b==12|a14b==13|a14b==14|a14b==15|a14b==16|a14b==17|a14b==19|a14b==2
> 0|a14b==21|a14b==23|a14b==24|a14b==25|a14b==33)
(1,086 real changes made)

. label var teri_strata "GP has TERI presence"

. label var chirag_strata "GP has Chirag presence"

. label var control_strata "GP has neither TERI nor CHIRAG presence"

. 
. * Village size classification
. gen vlgsize=1 if (a14b==52|a14b==53|a14b==54|a14b==57|a14b==58|a14b==62|a14b==63|a14b==65|a14b==67|a14b==74|a14b==75|a14b==79|a14b==82|a14b==84|
> a14b==85|a14b==86|a14b==9|a14b==11|a14b==15|a14b==16|a14b==17|a14b==27|a14b==31|a14b==32|a14b==33)
(1,589 missing values generated)

. replace vlgsize=2 if (a14b==51|a14b==55|a14b==56|a14b==59|a14b==60|a14b==66|a14b==69|a14b==70|a14b==72|a14b==73|a14b==76|a14b==77|a14b==83|a14b=
> =87|a14b==6|a14b==7|a14b==13|a14b==14|a14b==18|a14b==20|a14b==21|a14b==22|a14b==23|a14b==25|a14b==28|a14b==30)
(887 real changes made)

. replace vlgsize=3 if (a14b==50|a14b==61|a14b==64|a14b==68|a14b==71|a14b==78|a14b==80|a14b==81|a14b==8|a14b==10|a14b==12|a14b==19|a14b==24|a14b==
> 26|a14b==29)
(702 real changes made)

. label variable vlgsize "Village Size"

. #delimit ;
delimiter now ;
. label define vlgsize     
>      1 "Small"
>      2 "Medium"
>          3 "Large" 
> ;

. #delimit cr
delimiter now cr
. label values vlgsize vlgsize   

. 
. * Village code
. rename a14b gp_code

. label var gp_code "A14b. Village / GP Code"

. rename a14c gpsubcl_code

. label var gpsubcl_code "A14c. Vilalge Subcluster Code"

. 
. * State codes (Uttarakhand and Uttar Pradesh)
. replace state_code = 9 if gp_code >=1 & gp_code <= 49
(1,057 real changes made)

. replace state_code = 5 if gp_code >= 50 & gp_code <= 87
(1,061 real changes made)

. label define state_code 5 "UK" 9 "UP"

. label values state_code state_code 

. tab state_code

 STATE_CODE |      Freq.     Percent        Cum.
------------+-----------------------------------
         UK |      1,061       50.05       50.05
         UP |      1,059       49.95      100.00
------------+-----------------------------------
      Total |      2,120      100.00

. tab state_code, nolabel

 STATE_CODE |      Freq.     Percent        Cum.
------------+-----------------------------------
          5 |      1,061       50.05       50.05
          9 |      1,059       49.95      100.00
------------+-----------------------------------
      Total |      2,120      100.00

. gen state_UP = 0

. replace state_UP = 1 if state_code == 9
(1,059 real changes made)

. label var state_UP "State Dummy - household is in Uttar Pradesh"

. 
. * Enumerator ID
. ren a6_1 IDvisit1

. lab var IDvisit1 "Enumerator ID for Visit 1"

. ren a6_2 IDvisit2

. lab var IDvisit2 "Enumerator ID for Visit 2"

. ren a6_3 IDvisit3

. lab var IDvisit3 "Enumerator ID for Visit 3"

. ren a9_2 IDcompleted

. lab var IDcompleted "Enumerator ID at completed visit"

. ren a10_2 IDsupervisor

. lab var IDsupervisor "Supervisor ID"

. order ID*, a(state_code)

. 
. * OUTCOMES AND DESCRIPTIVE STATISTICS *******************************************
. 
. local household_members "01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20"

. 
. foreach i in `household_members' {
  2. 
.         * Household members (for household size)
.         clonevar hh_member_`i' = c2_`i' 
  3.         replace hh_member_`i' = trim(c2_`i')
  4.         tostring hh_member_`i', replace
  5.         
.         * Age of household members (for number of children under five and age of household head)
.         clonevar age_year_`i' = c5_1_`i'
  6.         clonevar age_month_`i' = c5_2_`i'
  7.         clonevar age_day_`i' = c5_3_`i'
  8.         
.         * Household-head indicator
.         gen household_head_`i' = 0
  9.         replace household_head_`i' = c6_`i' if c6_`i' == 1
 10.         
.         * Sex of household members (for female head of household)
.         clonevar sex_`i' = c4_`i'
 11.         
.         * Primary-cook indicator
.         clonevar cooks_`i' = c8_`i'
 12.         replace cooks_`i' = 2 if cooks_`i' > 2 & !mi(cooks_`i')
 13.         gen primary_cook_`i' = 0
 14.         replace primary_cook_`i' = 1 if cooks_`i' == 1
 15.                 
.         * Years of education and in/attended school indicator
.         clonevar education_years_`i' =  c12_`i'
 16.         clonevar school_indicator_`i' = c11_`i'
 17.         
.         * Cough-cold indicator
.         clonevar cough_or_cold_`i' = d2_`i'
 18.         }
(2,110 real changes made)
hh_member_01 already string; no replace
(10 missing values generated)
(2,055 missing values generated)
(2,057 missing values generated)
(1,984 real changes made)
(28 missing values generated)
(1,629 missing values generated)
(2 real changes made)
(273 real changes made)
(179 missing values generated)
(21 missing values generated)
(42 missing values generated)
(2,118 real changes made)
hh_member_02 already string; no replace
(68 missing values generated)
(2,060 missing values generated)
(2,061 missing values generated)
(171 real changes made)
(92 missing values generated)
(590 missing values generated)
(3 real changes made)
(1,260 real changes made)
(284 missing values generated)
(81 missing values generated)
(110 missing values generated)
(2,120 real changes made)
hh_member_03 already string; no replace
(248 missing values generated)
(2,023 missing values generated)
(2,055 missing values generated)
(11 real changes made)
(270 missing values generated)
(1,675 missing values generated)
(9 real changes made)
(234 real changes made)
(319 missing values generated)
(279 missing values generated)
(288 missing values generated)
(2,119 real changes made)
hh_member_04 already string; no replace
(474 missing values generated)
(2,006 missing values generated)
(2,047 missing values generated)
(4 real changes made)
(487 missing values generated)
(1,689 missing values generated)
(9 real changes made)
(223 real changes made)
(534 missing values generated)
(515 missing values generated)
(507 missing values generated)
(1 missing value generated)
(2,118 real changes made)
hh_member_05 already string; no replace
(847 missing values generated)
(1,970 missing values generated)
(2,037 missing values generated)
(7 real changes made)
(848 missing values generated)
(2,009 missing values generated)
(4 real changes made)
(41 real changes made)
(902 missing values generated)
(888 missing values generated)
(853 missing values generated)
(2,120 real changes made)
hh_member_06 already string; no replace
(1,259 missing values generated)
(2,017 missing values generated)
(2,061 missing values generated)
(3 real changes made)
(1,269 missing values generated)
(2,051 missing values generated)
(2 real changes made)
(26 real changes made)
(1,310 missing values generated)
(1,292 missing values generated)
(1,273 missing values generated)
(2,120 real changes made)
hh_member_07 already string; no replace
(1,606 missing values generated)
(2,054 missing values generated)
(2,085 missing values generated)
(2 real changes made)
(1,609 missing values generated)
(2,070 missing values generated)
(1 real change made)
(11 real changes made)
(1,631 missing values generated)
(1,628 missing values generated)
(1,617 missing values generated)
(2,120 real changes made)
hh_member_08 already string; no replace
(1,815 missing values generated)
(2,068 missing values generated)
(2,094 missing values generated)
(2 real changes made)
(1,823 missing values generated)
(2,084 missing values generated)
(3 real changes made)
(9 real changes made)
(1,836 missing values generated)
(1,834 missing values generated)
(1,820 missing values generated)
(2,120 real changes made)
hh_member_09 already string; no replace
(1,961 missing values generated)
(2,089 missing values generated)
(2,105 missing values generated)
(1 real change made)
(1,963 missing values generated)
(2,098 missing values generated)
(0 real changes made)
(9 real changes made)
(1,968 missing values generated)
(1,966 missing values generated)
(1,960 missing values generated)
(2,119 real changes made)
hh_member_10 already string; no replace
(2,013 missing values generated)
(2,098 missing values generated)
(2,110 missing values generated)
(0 real changes made)
(2,016 missing values generated)
(2,106 missing values generated)
(2 real changes made)
(4 real changes made)
(2,020 missing values generated)
(2,016 missing values generated)
(2,014 missing values generated)
(2,120 real changes made)
hh_member_11 already string; no replace
(2,054 missing values generated)
(2,113 missing values generated)
(2,117 missing values generated)
(0 real changes made)
(2,056 missing values generated)
(2,117 missing values generated)
(0 real changes made)
(2 real changes made)
(2,058 missing values generated)
(2,059 missing values generated)
(2,056 missing values generated)
(2,120 real changes made)
hh_member_12 already string; no replace
(2,074 missing values generated)
(2,111 missing values generated)
(2,114 missing values generated)
(0 real changes made)
(2,077 missing values generated)
(2,115 missing values generated)
(0 real changes made)
(0 real changes made)
(2,078 missing values generated)
(2,078 missing values generated)
(2,074 missing values generated)
(2,120 real changes made)
hh_member_13 already string; no replace
(2,089 missing values generated)
(2,115 missing values generated)
(2,117 missing values generated)
(1 real change made)
(2,090 missing values generated)
(2,119 missing values generated)
(0 real changes made)
(0 real changes made)
(2,092 missing values generated)
(2,094 missing values generated)
(2,090 missing values generated)
(2,120 real changes made)
hh_member_14 already string; no replace
(2,101 missing values generated)
(2,118 missing values generated)
(2,119 missing values generated)
(0 real changes made)
(2,102 missing values generated)
(2,120 missing values generated)
(0 real changes made)
(0 real changes made)
(2,103 missing values generated)
(2,103 missing values generated)
(2,103 missing values generated)
(2,120 real changes made)
hh_member_15 already string; no replace
(2,112 missing values generated)
(2,120 missing values generated)
(2,120 missing values generated)
(0 real changes made)
(2,112 missing values generated)
(2,120 missing values generated)
(0 real changes made)
(0 real changes made)
(2,113 missing values generated)
(2,113 missing values generated)
(2,112 missing values generated)
(2,120 real changes made)
hh_member_16 already string; no replace
(2,113 missing values generated)
(2,120 missing values generated)
(2,120 missing values generated)
(0 real changes made)
(2,113 missing values generated)
(2,118 missing values generated)
(1 real change made)
(0 real changes made)
(2,114 missing values generated)
(2,114 missing values generated)
(2,113 missing values generated)
(2,120 real changes made)
hh_member_17 already string; no replace
(2,115 missing values generated)
(2,120 missing values generated)
(2,120 missing values generated)
(0 real changes made)
(2,115 missing values generated)
(2,120 missing values generated)
(0 real changes made)
(0 real changes made)
(2,115 missing values generated)
(2,115 missing values generated)
(2,115 missing values generated)
(2,120 real changes made)
hh_member_18 already string; no replace
(2,115 missing values generated)
(2,120 missing values generated)
(2,120 missing values generated)
(0 real changes made)
(2,115 missing values generated)
(2,120 missing values generated)
(0 real changes made)
(0 real changes made)
(2,116 missing values generated)
(2,115 missing values generated)
(2,115 missing values generated)
(2,120 real changes made)
hh_member_19 already string; no replace
(2,116 missing values generated)
(2,120 missing values generated)
(2,120 missing values generated)
(0 real changes made)
(2,116 missing values generated)
(2,119 missing values generated)
(0 real changes made)
(0 real changes made)
(2,116 missing values generated)
(2,116 missing values generated)
(2,116 missing values generated)
(2,120 real changes made)
hh_member_20 already string; no replace
(2,118 missing values generated)
(2,120 missing values generated)
(2,120 missing values generated)
(0 real changes made)
(2,118 missing values generated)
(2,120 missing values generated)
(0 real changes made)
(0 real changes made)
(2,118 missing values generated)
(2,118 missing values generated)
(2,118 missing values generated)

. 
. * Below poverty line (BPL) indicator
. gen below_pov_line = 1 if a22a == 1
(900 missing values generated)

. replace below_pov_line = 0 if a22a == 2
(698 real changes made)

. label var below_pov_line "Household reports they are below poverty line (BPL)"

. 
. * Stove-ownership and stove-use variables
. label var e1_01 "Own single pot mud stove"

. label var e1_02 "Own multiple pot mud stove / Angeti"

. label var e1_03 "Own traditional 3 stone fire"

. label var e1_04 "Own kerosene pump stove"

. label var e1_05 "Own kerosene wick stove"

. label var e1_06 "Own LPG stove"

. label var e1_07 "Own electric stove"

. label var e1_08 "Own biogas stove"

. label var e1_09 "Own sagarh"

. label var e1_10 "Own coal stove"

. label var e1_11 "Own commercial improved cookstove"

. label var e1_12 "Own other stove (specified)"

. foreach i in 01 02 03 04 05 06 07 08 09 10 11 12 {
  2.         clonevar stove_own_`i' = e1_`i'
  3.         clonevar number_stove_own_`i' = e2_`i'
  4.         clonevar stove_used_`i' = e6_`i'
  5.         clonevar stove_use_hours_`i' = e9_1_`i'
  6.         clonevar stove_use_minutes_`i' = e9_2_`i'
  7.         }
(24 missing values generated)
(880 missing values generated)
(857 missing values generated)
(839 missing values generated)
(1,216 missing values generated)
(54 missing values generated)
(1,932 missing values generated)
(1,911 missing values generated)
(1,930 missing values generated)
(1,992 missing values generated)
(41 missing values generated)
(1,620 missing values generated)
(1,609 missing values generated)
(1,616 missing values generated)
(1,617 missing values generated)
(59 missing values generated)
(2,102 missing values generated)
(2,098 missing values generated)
(2,107 missing values generated)
(2,107 missing values generated)
(62 missing values generated)
(2,115 missing values generated)
(2,107 missing values generated)
(2,118 missing values generated)
(2,118 missing values generated)
(50 missing values generated)
(1,716 missing values generated)
(1,701 missing values generated)
(1,716 missing values generated)
(1,739 missing values generated)
(62 missing values generated)
(2,111 missing values generated)
(2,106 missing values generated)
(2,113 missing values generated)
(2,113 missing values generated)
(61 missing values generated)
(2,106 missing values generated)
(2,102 missing values generated)
(2,109 missing values generated)
(2,109 missing values generated)
(57 missing values generated)
(1,914 missing values generated)
(1,902 missing values generated)
(1,910 missing values generated)
(1,912 missing values generated)
(63 missing values generated)
(2,115 missing values generated)
(2,109 missing values generated)
(2,118 missing values generated)
(2,119 missing values generated)
(66 missing values generated)
(2,113 missing values generated)
(2,109 missing values generated)
(2,116 missing values generated)
(2,117 missing values generated)
(67 missing values generated)
(2,115 missing values generated)
(2,110 missing values generated)
(2,117 missing values generated)
(2,117 missing values generated)

. foreach var of varlist stove_used_* {
  2.         replace `var' = 1 if `var' > 1 & !mi(`var')
  3. }
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)

. 
. * Fuel-use indicator, fuel-use regularity, fuel-collection time, and fuel-expenditure variables
. lab var e18_01 "Use fuel: fuelwood"

. lab var e18_02 "Use fuel: crop residue"

. lab var e18_03 "Use fuel: leaves"

. lab var e18_04 "Use fuel: dung"

. lab var e18_05 "Use fuel: biomas pellets"

. lab var e18_06 "Use fuel: kerosene"

. lab var e18_07 "Use fuel: LPG"

. lab var e18_08 "Use fuel: electricity"

. lab var e18_09 "Use fuel: biogas"

. lab var e18_10 "Use fuel: other"

. foreach i in 01 02 03 04 05 06 07 08 09 10 {
  2.         
.         * Fuel use
.         clonevar fuel_use_`i' = e18_`i'
  3.         clonevar fuel_use_regularity_`i' = e20_`i'
  4.         
.         * Fuel collection time
.         clonevar fuel_collection_time_`i' = e24_1_`i'
  5.         capture replace fuel_collection_time_`i' = "" if fuel_collection_time_`i' == "-9"
  6.         capture replace fuel_collection_time_`i' = "0.08" if fuel_collection_time_`i' == "0:05"
  7.         capture replace fuel_collection_time_`i' = "0.16" if fuel_collection_time_`i' == "0:10"
  8.         capture replace fuel_collection_time_`i' = "0.25" if fuel_collection_time_`i' == "0:15"
  9.         capture replace fuel_collection_time_`i' = "0.3" if fuel_collection_time_`i' == "0:20"
 10.         capture replace fuel_collection_time_`i' = "0.5" if fuel_collection_time_`i' == "0:30"
 11.         capture replace fuel_collection_time_`i' = "0.67" if fuel_collection_time_`i' == "0:40"
 12.         capture replace fuel_collection_time_`i' = "0.75" if fuel_collection_time_`i' == "0:45"
 13.         capture replace fuel_collection_time_`i' = "1" if fuel_collection_time_`i' == "1:00"
 14.         capture replace fuel_collection_time_`i' = "1.5" if fuel_collection_time_`i' == "1:30"
 15.         capture replace fuel_collection_time_`i' = "2" if fuel_collection_time_`i' == "2:00"
 16.         capture replace fuel_collection_time_`i' = "2.5" if fuel_collection_time_`i' == "2:30"
 17.         capture replace fuel_collection_time_`i' = "4" if fuel_collection_time_`i' == "4:00"
 18.         capture replace fuel_collection_time_`i' = "6" if fuel_collection_time_`i' == "6:00"
 19.         capture replace fuel_collection_time_`i' = "" if fuel_collection_time_`i' == "1Day "
 20.         capture replace fuel_collection_time_`i' = "" if fuel_collection_time_`i' == "2115"
 21.         destring fuel_collection_time_`i', replace
 22.         
.         clonevar fuel_collection_units_`i' = e24_2_`i'
 23.         replace fuel_collection_units_`i' = 2 if fuel_collection_units_`i' == 1 & fuel_collection_time_`i' > 8 & fuel_collection_time_`i' <= 
> 50 // replace unit to hours per week if hours per day is > 8 and <= 50
 24.         replace fuel_collection_units_`i' = 3 if (fuel_collection_units_`i' == 1 | fuel_collection_units_`i' == 2) & fuel_collection_time_`i'
>  > 50      // replace unit to hours per month if hours per day or per week is > 50
 25.         
.         gen fuel_collection_minutes_`i' = fuel_collection_time_`i' * 60 if fuel_collection_units_`i' == 1 // Hours per day to minutes per day
 26.         replace fuel_collection_minutes_`i' = (fuel_collection_time_`i' / 7) * 60 if fuel_collection_units_`i' == 2 // Hours per week to minu
> tes per day
 27.         replace fuel_collection_minutes_`i' = (fuel_collection_time_`i' / 30) * 60 if fuel_collection_units_`i' == 3 // Hours per month to mi
> nutes per day
 28.         lab var fuel_collection_minutes_`i' "Time spent collecting [FUEL], minutes per day"
 29.         
.         * Fuel expenditure
.         clonevar fuel_expenditure_`i' = e21_1_`i'
 30.         clonevar fuel_expenditure_units_`i' = e21_2_`i'
 31.         }
(3 missing values generated)
(89 missing values generated)
fuel_collection_time_01: all characters numeric; replaced as double
(87 missing values generated)
(91 missing values generated)
(33 real changes made)
(9 real changes made)
(880 missing values generated)
(484 real changes made)
(293 real changes made)
(87 missing values generated)
(590 missing values generated)
(57 missing values generated)
(1,970 missing values generated)
fuel_collection_time_02: all characters numeric; replaced as double
(1974 missing values generated)
(1,973 missing values generated)
(0 real changes made)
(1 real change made)
(2,000 missing values generated)
(17 real changes made)
(9 real changes made)
(1,970 missing values generated)
(1,983 missing values generated)
(59 missing values generated)
(2,084 missing values generated)
fuel_collection_time_03: all characters numeric; replaced as double
(2080 missing values generated)
(2,080 missing values generated)
(0 real changes made)
(0 real changes made)
(2,090 missing values generated)
(10 real changes made)
(0 real changes made)
(2,082 missing values generated)
(2,084 missing values generated)
(52 missing values generated)
(1,309 missing values generated)
fuel_collection_time_04: all characters numeric; replaced as double
(1312 missing values generated)
(1,314 missing values generated)
(50 real changes made)
(5 real changes made)
(1,595 missing values generated)
(213 real changes made)
(62 real changes made)
(1,304 missing values generated)
(1,450 missing values generated)
(67 missing values generated)
(2,119 missing values generated)
fuel_collection_time_05: all characters numeric; replaced as double
(2117 missing values generated)
(2,117 missing values generated)
(0 real changes made)
(0 real changes made)
(2,117 missing values generated)
(0 real changes made)
(0 real changes made)
(2,119 missing values generated)
(2,120 missing values generated)
(58 missing values generated)
(1,805 missing values generated)
fuel_collection_time_06: all characters numeric; replaced as double
(1804 missing values generated)
(1,804 missing values generated)
(0 real changes made)
(0 real changes made)
(1,983 missing values generated)
(2 real changes made)
(175 real changes made)
(1,801 missing values generated)
(1,809 missing values generated)
(29 missing values generated)
(1,728 missing values generated)
fuel_collection_time_07: all characters numeric; replaced as double
(1734 missing values generated)
(1,736 missing values generated)
(3 real changes made)
(0 real changes made)
(1,992 missing values generated)
(5 real changes made)
(244 real changes made)
(1,724 missing values generated)
(1,737 missing values generated)
(70 missing values generated)
(2,043 missing values generated)
fuel_collection_time_08: all characters numeric; replaced as double
(2058 missing values generated)
(2,047 missing values generated)
(0 real changes made)
(0 real changes made)
(2,118 missing values generated)
(0 real changes made)
(56 real changes made)
(2,043 missing values generated)
(2,044 missing values generated)
(72 missing values generated)
(2,112 missing values generated)
fuel_collection_time_09: all characters numeric; replaced as double
(2111 missing values generated)
(2,111 missing values generated)
(0 real changes made)
(0 real changes made)
(2,115 missing values generated)
(3 real changes made)
(1 real change made)
(2,111 missing values generated)
(2,113 missing values generated)
(73 missing values generated)
(2,092 missing values generated)
(2,091 missing values generated)
fuel_collection_time_10 already numeric; no replace
(2,095 missing values generated)
(0 real changes made)
(0 real changes made)
(2,108 missing values generated)
(13 real changes made)
(0 real changes made)
(2,091 missing values generated)
(2,092 missing values generated)

. 
. * Clean stove and fuel awareness
. clonevar heard_stove_lesssmoke = b4_1
(667 missing values generated)

. clonevar heard_stove_lesssmoke2 = b4_2
(961 missing values generated)

. clonevar heard_stove_lesssmoke3 = b4_3
(1,290 missing values generated)

. clonevar heard_fuel_lesssmoke = b5_1
(678 missing values generated)

. clonevar heard_fuel_lesssmoke2 = b5_2
(970 missing values generated)

. clonevar heard_fuel_lesssmoke3 = b5_3
(1,300 missing values generated)

.         
. * Smoke safety perception
. clonevar smoke_safety_perception = b11
(1 missing value generated)

. 
. * Saving money is possible
. gen save_possible = .
(2,120 missing values generated)

. replace save_possible = 0 if g23_1 == 0 | g23_2 == 0 | g23_3 == 0  
(2,018 real changes made)

. replace save_possible = 1 if g23_1 == 1 | g23_2 == 1 | g23_3 == 1  
(323 real changes made)

. tab save_possible

save_possib |
         le |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |      1,777       84.62       84.62
          1 |        323       15.38      100.00
------------+-----------------------------------
      Total |      2,100      100.00

. label var save_possible "Possible for household to save money at MFI or other bank, etc"

. replace save_possible = 0 if save_possible == .
(20 real changes made)

. 
. * Self-reported fuelwood use
. * NB: Converted to kilogram. Assume one trolley is 100 kg; one bundle is 17.5 kg.
. for any 01 02 03 04 05 06 07 08 09 10: gen fueluse_X = e25_2_X // Adjusting reported amount

->  gen fueluse_01 = e25_2_01

->  gen fueluse_02 = e25_2_02

->  gen fueluse_03 = e25_2_03

->  gen fueluse_04 = e25_2_04
(1,306 missing values generated)

->  gen fueluse_05 = e25_2_05
(2,117 missing values generated)

->  gen fueluse_06 = e25_2_06
(1,801 missing values generated)

->  gen fueluse_07 = e25_2_07

->  gen fueluse_08 = e25_2_08
(2,119 missing values generated)

->  gen fueluse_09 = e25_2_09
(2,111 missing values generated)

->  gen fueluse_10 = e25_2_10
(2,092 missing values generated)

. replace fueluse_01 = "." if fueluse_01 == "      " // 77 blanks
(77 real changes made)

. replace fueluse_01 = "50" if hh_id==1588
(1 real change made)

. replace e25_2_01= "50" if hh_id==1588
(1 real change made)

. destring fueluse_01, replace 
fueluse_01: all characters numeric; replaced as double
(77 missing values generated)

. destring e25_2_01, replace // Adjusting units
e25_2_01: all characters numeric; replaced as double
(77 missing values generated)

. replace fueluse_01 = e25_2_01 * 100 if e25_1_01==5 // 5 = trolley, or 100 kgs; N = 22
(22 real changes made)

. replace fueluse_01 = e25_2_01 * 17.5 if e25_1_01==6 // 6 = bundle, or 17.5 kgs; N = 83
(83 real changes made)

. replace fueluse_01 = . if e25_1_01==3 // 3 = cylinder; inpplicable response, N = 3
(3 real changes made, 3 to missing)

. replace fueluse_01 = . if e25_1_01 == 2 // 2 = liter; inapplicable response.
(3 real changes made, 3 to missing)

. replace fueluse_01 = . if fueluse_01 < 0 // Replacing unknowns with missing; N = 10
(10 real changes made, 10 to missing)

. replace fueluse_01 = fueluse_01 / 7 if e25_3_01 == 2  // Weekly to daily 
(355 real changes made)

. replace fueluse_01 = fueluse_01 / 30 if e25_3_01 == 3 // Monthly to daily
(556 real changes made)

. tab fueluse_01

 fueluse_01 |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         28        1.38        1.38
   .0333333 |          8        0.39        1.78
   .0666667 |         10        0.49        2.27
         .1 |          6        0.30        2.57
   .1333333 |          5        0.25        2.81
   .1366667 |          1        0.05        2.86
   .1428571 |          4        0.20        3.06
   .1666667 |          7        0.35        3.40
         .2 |          3        0.15        3.55
   .2333333 |          1        0.05        3.60
   .2666667 |          2        0.10        3.70
   .3333333 |          7        0.35        4.05
   .4285714 |          2        0.10        4.14
         .5 |          2        0.10        4.24
   .5833333 |          3        0.15        4.39
         .6 |          1        0.05        4.44
   .6333333 |          1        0.05        4.49
   .6666667 |         16        0.79        5.28
   .7142857 |          5        0.25        5.53
   .8333333 |         23        1.13        6.66
   .8571429 |          2        0.10        6.76
          1 |         19        0.94        7.70
   1.142857 |          1        0.05        7.75
   1.166667 |          1        0.05        7.79
   1.285714 |          1        0.05        7.84
   1.333333 |          2        0.10        7.94
   1.428571 |         28        1.38        9.32
        1.5 |          1        0.05        9.37
   1.666667 |         22        1.09       10.46
   1.714286 |          2        0.10       10.56
          2 |         48        2.37       12.93
   2.142857 |         21        1.04       13.96
   2.285714 |          2        0.10       14.06
   2.333333 |          3        0.15       14.21
        2.5 |          4        0.20       14.41
   2.571429 |          1        0.05       14.45
   2.666667 |          4        0.20       14.65
   2.714286 |          2        0.10       14.75
   2.857143 |         68        3.35       18.11
          3 |         65        3.21       21.31
   3.142857 |          3        0.15       21.46
   3.333333 |        144        7.10       28.56
   3.428571 |          1        0.05       28.61
   3.571429 |         74        3.65       32.26
          4 |         78        3.85       36.11
   4.142857 |          1        0.05       36.16
   4.285714 |         40        1.97       38.14
          5 |        244       12.04       50.17
   5.714286 |          4        0.20       50.37
   5.833333 |          1        0.05       50.42
          6 |         92        4.54       54.96
       6.25 |          1        0.05       55.01
   6.428571 |          2        0.10       55.11
   6.666667 |        102        5.03       60.14
          7 |         60        2.96       63.10
   7.142857 |         22        1.09       64.18
          8 |        101        4.98       69.17
       8.33 |          1        0.05       69.22
   8.333333 |         11        0.54       69.76
   8.571429 |          2        0.10       69.86
          9 |         26        1.28       71.14
         10 |        235       11.59       82.73
         11 |          1        0.05       82.78
   11.66667 |          1        0.05       82.83
         12 |         47        2.32       85.15
       12.5 |          2        0.10       85.25
         13 |          3        0.15       85.40
   13.33333 |         23        1.13       86.53
         14 |          7        0.35       86.88
   14.28571 |          7        0.35       87.22
   14.58333 |          1        0.05       87.27
         15 |         20        0.99       88.26
         16 |          2        0.10       88.36
   16.33333 |          1        0.05       88.41
       16.6 |          1        0.05       88.46
   16.66667 |         26        1.28       89.74
         17 |          1        0.05       89.79
       17.5 |         10        0.49       90.28
         18 |          8        0.39       90.68
         20 |         42        2.07       92.75
         21 |          1        0.05       92.80
   23.33333 |          1        0.05       92.85
         25 |         14        0.69       93.54
   28.57143 |          3        0.15       93.69
         30 |          9        0.44       94.13
   33.33333 |          3        0.15       94.28
         35 |         11        0.54       94.82
       37.5 |          1        0.05       94.87
         40 |          5        0.25       95.12
       42.5 |          1        0.05       95.17
   42.85714 |          1        0.05       95.21
         50 |         13        0.64       95.86
       52.5 |          9        0.44       96.30
       62.5 |          1        0.05       96.35
         70 |          4        0.20       96.55
   72.91667 |          1        0.05       96.60
         80 |          1        0.05       96.65
       87.5 |          4        0.20       96.84
        100 |          7        0.35       97.19
        105 |          3        0.15       97.34
        110 |          1        0.05       97.39
        120 |          1        0.05       97.43
        150 |          1        0.05       97.48
        200 |          5        0.25       97.73
        300 |          6        0.30       98.03
   333.3333 |          1        0.05       98.08
        400 |          7        0.35       98.42
        500 |          9        0.44       98.87
        600 |         11        0.54       99.41
        700 |          4        0.20       99.61
        800 |          6        0.30       99.90
        900 |          2        0.10      100.00
------------+-----------------------------------
      Total |      2,027      100.00

. replace fueluse_01 = . if fueluse_01 >100 // Drop outliers, N = 58
(57 real changes made, 57 to missing)

. label var fueluse_01 "Self-report fuelwood use per day, kg"

. ren fueluse_01 fuelwood_used_weight_reported

. 
. * Credit access behaviour (Took loan in last year)
. gen credit = .
(2,120 missing values generated)

. replace credit = . if g19_1==-9
(0 real changes made)

. replace credit = . if g19_2==-9
(0 real changes made)

. replace credit = . if g19_3==-9
(0 real changes made)

. replace credit = . if g19_4==-9
(0 real changes made)

. replace credit = . if g19_5==-9
(0 real changes made)

. replace credit = . if g19_6==-9
(0 real changes made)

. replace credit = 0 if g19_1 ==0|g19_2==0|g19_3==0|g19_4==0|g19_5==0|g19_6==0
(2,094 real changes made)

. replace credit = 1 if  g19_1==1|g19_2==1|g19_3==1|g19_4==1|g19_5==1|g19_6==1
(293 real changes made)

. tab credit

     credit |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |      1,805       86.03       86.03
          1 |        293       13.97      100.00
------------+-----------------------------------
      Total |      2,098      100.00

. label var credit "Household has taken loan in past year"

. bysort state_code: sum credit

--------------------------------------------------------------------------------------------------------------------------------------------------
-> state_code = UK

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      credit |      1,059    .1482531    .3555186          0          1

--------------------------------------------------------------------------------------------------------------------------------------------------
-> state_code = UP

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      credit |      1,039    .1308951     .337448          0          1


. bysort state_code: tab credit

--------------------------------------------------------------------------------------------------------------------------------------------------
-> state_code = UK

  Household |
  has taken |
    loan in |
  past year |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |        902       85.17       85.17
          1 |        157       14.83      100.00
------------+-----------------------------------
      Total |      1,059      100.00

--------------------------------------------------------------------------------------------------------------------------------------------------
-> state_code = UP

  Household |
  has taken |
    loan in |
  past year |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |        903       86.91       86.91
          1 |        136       13.09      100.00
------------+-----------------------------------
      Total |      1,039      100.00


. replace credit = 0 if credit == . // 22 households
(22 real changes made)

. 
. * Relative wealth perception index
. clonevar relative_wealth = g12  
(3 missing values generated)

. label var relative_wealth "Self assessment of relative wealth (ladder question)"

. 
. * Reported hours of electricity per day
. replace g10 = "" if g10=="borrow"
(1 real change made)

. replace g10="." if g10=="7"
(1 real change made)

. destring g10, replace
g10: all characters numeric; replaced as byte
(40 missing values generated)

. gen electricity_hours = 0 if g10 == 3
(1,494 missing values generated)

. replace electricity_hours = g10_1 if g10 == 2
(1,188 real changes made)

. replace electricity_hours = 24 if g10 == 1
(256 real changes made)

. replace electricity_hours = 24 if electricity_hours == 72
(1 real change made)

. label var electricity_hours "Hours households have electricity per day"

.         
. * TOK NAME CLEANING *************************************************************
. 
. * Finding original household IDs for toks with < 5 households / tok
. sort gp_code gpsubcl_code hh_idOLD

. list hh_idOLD if gpsubcl_code == 2 & gp_code == 51 // hh_idOLD == 1631

      +----------+
      | hh_idOLD |
      |----------|
1102. |     1631 |
      +----------+

. list hh_idOLD gpsubcl_code if gp_code == 51, separator (0) noobs

  +---------------------+
  | hh_idOLD   gpsubc~e |
  |---------------------|
  |     1631          2 |
  |     1727          3 |
  |     1728          3 |
  |     1764          3 |
  |     1765          3 |
  |     1767          3 |
  |     1768          3 |
  |     1773          3 |
  |     1769          4 |
  |     1770          4 |
  |     1776          5 |
  |     1878          5 |
  |     1943          5 |
  |     2006          5 |
  |     1634          6 |
  |     1726          6 |
  |     1772          6 |
  |     1883          6 |
  |     1950          6 |
  |     1723          7 |
  |     1763          7 |
  |     1771          7 |
  |     1833          7 |
  |     1834          7 |
  |     1835          7 |
  |     1836          7 |
  |     1837          7 |
  |     1876          7 |
  |     1884          7 |
  |     1927          7 |
  |     1944          7 |
  |     1945          7 |
  |     1946          7 |
  |     1947          7 |
  |     1948          7 |
  |     1949          7 |
  |     1729          9 |
  |     1766          9 |
  |     1774          9 |
  |     1775          9 |
  |     1877          9 |
  +---------------------+

. 
. * Fixing two surveys with incorrect state_code; hh_idOLD > 1100 but they are listed as being in UP, moving to UK
. replace state_code = 5 if hh_idOLD == 1191
(1 real change made)

. replace state_code = 5 if hh_idOLD == 1483
(1 real change made)

. replace gp_code = 83 if hh_idOLD == 1483 // Fixing mis-entered village
(1 real change made)

. replace gp_code = 68 if hh_idOLD ==1191  // Fixing mis-entered village
(1 real change made)

. 
. * New identified for sampling groups
. gen grp_code = gpsubcl_code if state_code == 5
(1,062 missing values generated)

. label var grp_code "Sampling code for intervention (includes tok code reassignments)"

. 
. * Tagging changes to incorrect GP codes
. gen gp_change = 0 if state_code == 5
(1,057 missing values generated)

. label var gp_change "GP code was incorrect for this household"

. * Tagging changes to the group code (where tok code was incorrect)
. gen grp_change = 0 if state_code == 5
(1,057 missing values generated)

. label var grp_change "Tok code was incorrect for this household; group code is now correct"

. * Tagging changes to hh_idOLD when map and supervisor sheet show it was incorrect
. gen hh_idOLDchange = 0 if state_code == 5
(1,057 missing values generated)

. label var hh_idOLDchange "Hh_idOLD was incorrect as shown on map and supervisor sheet"

. 
. *Chaugaon China (GP 50)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 50

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |         11       26.19       26.19
          2 |          7       16.67       42.86
          5 |         13       30.95       73.81
          7 |         11       26.19      100.00
------------+-----------------------------------
      Total |         42      100.00

. list hh_idOLD grp_code gpsubcl_code if gp_code == 50, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code   gpsubc~e |
  |--------------------------------|
  |     1827          1          1 |
  |     1828          1          1 |
  |     1881          1          1 |
  |     1889          1          1 |
  |     1890          1          1 |
  |     1891          1          1 |
  |     1903          1          1 |
  |     1904          1          1 |
  |     1951          1          1 |
  |     1952          1          1 |
  |     1953          1          1 |
  |     1809          2          2 |
  |     1813          2          2 |
  |     1879          2          2 |
  |     1880          2          2 |
  |     1914          2          2 |
  |     1915          2          2 |
  |     1936          2          2 |
  |     1885          5          5 |
  |     1886          5          5 |
  |     1887          5          5 |
  |     1888          5          5 |
  |     1896          5          5 |
  |     1897          5          5 |
  |     1898          5          5 |
  |     1899          5          5 |
  |     1900          5          5 |
  |     1913          5          5 |
  |     1919          5          5 |
  |     1920          5          5 |
  |     1934          5          5 |
  |     1812          7          7 |
  |     1814          7          7 |
  |     1826          7          7 |
  |     1882          7          7 |
  |     1902          7          7 |
  |     1916          7          7 |
  |     1917          7          7 |
  |     1918          7          7 |
  |     1922          7          7 |
  |     1932          7          7 |
  |     1937          7          7 |
  +--------------------------------+

. 
. * Jhiroli (GP 51)
. replace grp_change = 1 if (hh_idOLD == 1883 | hh_idOLD==1631 | hh_idOLD == 1763) & gp_code == 51
(3 real changes made)

. replace grp_code = 5 if hh_idOLD == 1883 & gp_code == 51 
(1 real change made)

. replace grp_code = 5 if hh_idOLD == 1631 & gp_code == 51 // fixed typo in code for hh_idOLD == 1631
(1 real change made)

. replace grp_code = 6 if hh_idOLD == 1763 & gp_code == 51
(1 real change made)

. replace grp_code = 9 if gpsubcl_code == 4 & gp_code == 51 // subcluster (4) only has 2 HHs, merged with nearest subcluster (9)
(2 real changes made)

. replace grp_change = 1 if gpsubcl_code == 4 & gp_code == 51
(2 real changes made)

. tab grp_code if gp_code == 51

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          3 |          7       17.07       17.07
          5 |          6       14.63       31.71
          6 |          5       12.20       43.90
          7 |         16       39.02       82.93
          9 |          7       17.07      100.00
------------+-----------------------------------
      Total |         41      100.00

. tab grp_code if gp_code == 53

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          2 |         20      100.00      100.00
------------+-----------------------------------
      Total |         20      100.00

. tab grp_code if gp_code == 54

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |         15       78.95       78.95
          5 |          4       21.05      100.00
------------+-----------------------------------
      Total |         19      100.00

. 
. * Raikholi (GP 55)
. tab grp_code if gp_code == 55

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         12       38.71       38.71
          2 |         18       58.06       96.77
          5 |          1        3.23      100.00
------------+-----------------------------------
      Total |         31      100.00

. list hh_idOLD gpsubcl_code if gp_code == 55, separator (0) noobs

  +---------------------+
  | hh_idOLD   gpsubc~e |
  |---------------------|
  |     1357          0 |
  |     1358          0 |
  |     1359          0 |
  |     1721          0 |
  |     1722          0 |
  |     1724          0 |
  |     1725          0 |
  |     1733          0 |
  |     1895          0 |
  |     1938          0 |
  |     1939          0 |
  |     1940          0 |
  |     2009          2 |
  |     2010          2 |
  |     2011          2 |
  |     2012          2 |
  |     2013          2 |
  |     2015          2 |
  |     2016          2 |
  |     2017          2 |
  |     2068          2 |
  |     2069          2 |
  |     2070          2 |
  |     2073          2 |
  |     2074          2 |
  |     2075          2 |
  |     2081          2 |
  |     2085          2 |
  |     2086          2 |
  |     2087          2 |
  |     2082          5 |
  +---------------------+

. replace grp_change = 1 if hh_idOLD == 2075 | hh_idOLD == 2082
(2 real changes made)

. replace gp_code = 56 if hh_idOLD == 2075 | hh_idOLD == 2082
(2 real changes made)

. tab grp_code if gp_code == 55

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         12       41.38       41.38
          2 |         17       58.62      100.00
------------+-----------------------------------
      Total |         29      100.00

. list hh_idOLD gpsubcl_code if gp_code == 55

      +---------------------+
      | hh_idOLD   gpsubc~e |
      |---------------------|
  55. |     1357          0 |
  56. |     1358          0 |
  57. |     1359          0 |
 150. |     1721          0 |
 151. |     1722          0 |
      |---------------------|
 152. |     1724          0 |
 153. |     1725          0 |
 156. |     1733          0 |
 198. |     1895          0 |
 199. |     1938          0 |
      |---------------------|
 200. |     1939          0 |
 201. |     1940          0 |
 660. |     2009          2 |
 661. |     2010          2 |
 662. |     2011          2 |
      |---------------------|
 663. |     2012          2 |
 664. |     2013          2 |
 665. |     2015          2 |
 666. |     2016          2 |
 667. |     2017          2 |
      |---------------------|
 668. |     2068          2 |
 669. |     2069          2 |
 670. |     2070          2 |
 671. |     2073          2 |
 672. |     2074          2 |
      |---------------------|
 674. |     2081          2 |
 675. |     2085          2 |
 676. |     2086          2 |
 677. |     2087          2 |
      +---------------------+

. 
. * Suyalbari (GP 56)
. tab grp_code if gp_code == 56

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |          5       17.24       17.24
          1 |          4       13.79       31.03
          2 |          1        3.45       34.48
          5 |         19       65.52      100.00
------------+-----------------------------------
      Total |         29      100.00

. list hh_idOLD gpsubcl_code if gp_code == 56, separator (0) noobs

  +---------------------+
  | hh_idOLD   gpsubc~e |
  |---------------------|
  |     2018          0 |
  |     2022          0 |
  |     2031          0 |
  |     2071          0 |
  |     2077          0 |
  |     2036          1 |
  |     2078          1 |
  |     2079          1 |
  |     2080          1 |
  |     2075          2 |
  |     2014          5 |
  |     2019          5 |
  |     2020          5 |
  |     2021          5 |
  |     2023          5 |
  |     2024          5 |
  |     2025          5 |
  |     2026          5 |
  |     2028          5 |
  |     2029          5 |
  |     2030          5 |
  |     2032          5 |
  |     2033          5 |
  |     2034          5 |
  |     2035          5 |
  |     2037          5 |
  |     2072          5 |
  |     2076          5 |
  |     2082          5 |
  |     2027          . |
  +---------------------+

. replace grp_change = 1 if hh_idOLD == 2024 | hh_idOLD == 2082 | hh_idOLD == 2075
(1 real change made)

. replace grp_code = 0 if hh_idOLD == 2024 | hh_idOLD == 2082 | hh_idOLD == 2075
(3 real changes made)

. replace grp_change = 1 if hh_idOLD ==  2030| hh_idOLD == 2026
(2 real changes made)

. replace grp_code = 1 if hh_idOLD ==  2030| hh_idOLD == 2026
(2 real changes made)

. replace grp_change = 1 if hh_idOLD ==  2027
(1 real change made)

. replace grp_code = 5 if hh_idOLD ==  2027
(1 real change made)

. sort gp_code grp_code hh_idOLD 

. list hh_idOLD grp_code gpsubcl_code if  gp_code == 56, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code   gpsubc~e |
  |--------------------------------|
  |     2018          0          0 |
  |     2022          0          0 |
  |     2024          0          5 |
  |     2031          0          0 |
  |     2071          0          0 |
  |     2075          0          2 |
  |     2077          0          0 |
  |     2082          0          5 |
  |     2026          1          5 |
  |     2030          1          5 |
  |     2036          1          1 |
  |     2078          1          1 |
  |     2079          1          1 |
  |     2080          1          1 |
  |     2014          5          5 |
  |     2019          5          5 |
  |     2020          5          5 |
  |     2021          5          5 |
  |     2023          5          5 |
  |     2025          5          5 |
  |     2027          5          . |
  |     2028          5          5 |
  |     2029          5          5 |
  |     2032          5          5 |
  |     2033          5          5 |
  |     2034          5          5 |
  |     2035          5          5 |
  |     2037          5          5 |
  |     2072          5          5 |
  |     2076          5          5 |
  +--------------------------------+

. tab grp_code if gp_code == 56

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |          8       26.67       26.67
          1 |          6       20.00       46.67
          5 |         16       53.33      100.00
------------+-----------------------------------
      Total |         30      100.00

. 
. * Malla Bardho (GP 57)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 57

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          2 |          1        5.00        5.00
          6 |         10       50.00       55.00
          7 |          9       45.00      100.00
------------+-----------------------------------
      Total |         20      100.00

. replace grp_change = 1 if hh_idOLD == 1354
(1 real change made)

. replace grp_code = 7 if hh_idOLD == 1354
(1 real change made)

. list hh_idOLD grp_code gpsubcl_code if gp_code == 57, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code   gpsubc~e |
  |--------------------------------|
  |     1354          7          2 |
  |     1325          6          6 |
  |     1326          6          6 |
  |     1330          6          6 |
  |     1334          6          6 |
  |     1337          6          6 |
  |     1338          6          6 |
  |     1339          6          6 |
  |     1341          6          6 |
  |     1349          6          6 |
  |     1350          6          6 |
  |     1340          7          7 |
  |     1342          7          7 |
  |     1343          7          7 |
  |     1345          7          7 |
  |     1346          7          7 |
  |     1347          7          7 |
  |     1351          7          7 |
  |     1352          7          7 |
  |     1353          7          7 |
  +--------------------------------+

. 
. * Khairola (GP 58) // Map does not label household IDs so unable to validate
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 58

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |         20      100.00      100.00
------------+-----------------------------------
      Total |         20      100.00

. list hh_idOLD grp_code gpsubcl_code if  gp_code == 58, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code   gpsubc~e |
  |--------------------------------|
  |     1901          1          1 |
  |     2101          1          1 |
  |     2102          1          1 |
  |     2103          1          1 |
  |     2104          1          1 |
  |     2105          1          1 |
  |     2106          1          1 |
  |     2107          1          1 |
  |     2108          1          1 |
  |     2109          1          1 |
  |     2150          1          1 |
  |     2151          1          1 |
  |     2152          1          1 |
  |     2153          1          1 |
  |     2154          1          1 |
  |     2155          1          1 |
  |     2156          1          1 |
  |     2157          1          1 |
  |     2158          1          1 |
  |     2159          1          1 |
  +--------------------------------+

. 
. * Maluwatal (GP 59)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 59

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          7 |         31      100.00      100.00
------------+-----------------------------------
      Total |         31      100.00

. list hh_idOLD grp_code gpsubcl_code if  gp_code == 59, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code   gpsubc~e |
  |--------------------------------|
  |     2112          7          7 |
  |     2112          7          7 |
  |     2113          7          7 |
  |     2114          7          7 |
  |     2115          7          7 |
  |     2116          7          7 |
  |     2117          7          7 |
  |     2118          7          7 |
  |     2119          7          7 |
  |     2120          7          7 |
  |     2121          7          7 |
  |     2122          7          7 |
  |     2123          7          7 |
  |     2124          7          7 |
  |     2125          7          7 |
  |     2126          7          7 |
  |     2127          7          7 |
  |     2128          7          7 |
  |     2129          7          7 |
  |     2130          7          7 |
  |     2131          7          7 |
  |     2132          7          7 |
  |     2133          7          7 |
  |     2134          7          7 |
  |     2135          7          7 |
  |     2136          7          7 |
  |     2137          7          7 |
  |     2138          7          7 |
  |     2139          7          7 |
  |     2140          7          7 |
  |     2142          7          7 |
  +--------------------------------+

. 
. * Thaplia Mahara Gaon (GP 60)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 60

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         17       62.96       62.96
          1 |          4       14.81       77.78
          2 |          6       22.22      100.00
------------+-----------------------------------
      Total |         27      100.00

. list hh_idOLD grp_code gpsubcl_code if gp_code == 60, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code   gpsubc~e |
  |--------------------------------|
  |     1412          0          0 |
  |     1413          0          0 |
  |     1414          0          0 |
  |     1428          0          0 |
  |     1429          0          0 |
  |     1430          0          0 |
  |     1431          0          0 |
  |     1433          0          0 |
  |     1434          0          0 |
  |     1435          0          0 |
  |     1437          0          0 |
  |     1438          0          0 |
  |     1439          0          0 |
  |     1440          0          0 |
  |     1443          0          0 |
  |     1444          0          0 |
  |     1790          0          0 |
  |     1427          1          1 |
  |     1432          1          1 |
  |     1441          1          1 |
  |     1442          1          1 |
  |     1446          2          2 |
  |     1447          2          2 |
  |     1448          2          2 |
  |     1449          2          2 |
  |     1451          2          2 |
  |     1452          2          2 |
  |     1445          .          . |
  |     1450          .          . |
  +--------------------------------+

. replace grp_change = 1 if hh_idOLD == 1445 | hh_idOLD == 1450 | hh_idOLD == 1443 | hh_idOLD == 1444
(4 real changes made)

. replace grp_code = 2 if hh_idOLD == 1445 | hh_idOLD == 1450 | hh_idOLD == 1443 | hh_idOLD == 1444
(4 real changes made)

. replace grp_change = 1 if hh_idOLD == 1431 | hh_idOLD == 1437
(2 real changes made)

. replace grp_code = 1  if hh_idOLD == 1431 | hh_idOLD == 1437
(2 real changes made)

. list hh_idOLD grp_code gpsubcl_code if  gp_code == 60, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code   gpsubc~e |
  |--------------------------------|
  |     1412          0          0 |
  |     1413          0          0 |
  |     1414          0          0 |
  |     1428          0          0 |
  |     1429          0          0 |
  |     1430          0          0 |
  |     1431          1          0 |
  |     1433          0          0 |
  |     1434          0          0 |
  |     1435          0          0 |
  |     1437          1          0 |
  |     1438          0          0 |
  |     1439          0          0 |
  |     1440          0          0 |
  |     1443          2          0 |
  |     1444          2          0 |
  |     1790          0          0 |
  |     1427          1          1 |
  |     1432          1          1 |
  |     1441          1          1 |
  |     1442          1          1 |
  |     1446          2          2 |
  |     1447          2          2 |
  |     1448          2          2 |
  |     1449          2          2 |
  |     1451          2          2 |
  |     1452          2          2 |
  |     1445          2          . |
  |     1450          2          . |
  +--------------------------------+

. 
. *Saliya Kot Talla (GP 61)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 61

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |         20       50.00       50.00
          2 |          2        5.00       55.00
          5 |          3        7.50       62.50
          6 |          7       17.50       80.00
          7 |          8       20.00      100.00
------------+-----------------------------------
      Total |         40      100.00

. list hh_idOLD grp_code gpsubcl_code if  gp_code == 61, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code   gpsubc~e |
  |--------------------------------|
  |     1152          1          1 |
  |     1155          1          1 |
  |     1160          1          1 |
  |     1161          1          1 |
  |     1166          1          1 |
  |     1167          1          1 |
  |     1212          1          1 |
  |     1222          1          1 |
  |     1223          1          1 |
  |     1224          1          1 |
  |     1225          1          1 |
  |     1241          1          1 |
  |     1242          1          1 |
  |     1246          1          1 |
  |     1247          1          1 |
  |     1249          1          1 |
  |     1252          1          1 |
  |     1253          1          1 |
  |     1257          1          1 |
  |     1258          1          1 |
  |     1238          2          2 |
  |     1248          2          2 |
  |     1151          5          5 |
  |     1165          5          5 |
  |     1169          5          5 |
  |     1239          6          6 |
  |     1243          6          6 |
  |     1244          6          6 |
  |     1254          6          6 |
  |     1255          6          6 |
  |     1259          6          6 |
  |     1260          6          6 |
  |     1150          7          7 |
  |     1164          7          7 |
  |     1168          7          7 |
  |     1170          7          7 |
  |     1171          7          7 |
  |     1220          7          7 |
  |     1221          7          7 |
  |     1229          7          7 |
  +--------------------------------+

. replace grp_change = 1 if hh_idOLD == 1221 | hh_idOLD == 1152
(2 real changes made)

. replace grp_code = 5 if hh_idOLD == 1221| hh_idOLD == 1152
(2 real changes made)

. replace grp_change = 1 if hh_idOLD == 1165 | hh_idOLD == 1170 | hh_idOLD == 1171 | hh_idOLD == 1229
(4 real changes made)

. replace grp_code = 1 if hh_idOLD == 1165| hh_idOLD == 1170 | hh_idOLD == 1171 | hh_idOLD == 1229
(4 real changes made)

. replace grp_change = 1 if hh_idOLD ==1249 
(1 real change made)

. replace grp_code = 6 if hh_idOLD == 1249
(1 real change made)

. replace grp_change = 1 if grp_code == 2 & gp_code == 61 // subsluster (2) only has 2 HHS, merging with nearest subcluster (1)
(2 real changes made)

. replace grp_code = 1 if grp_code == 2 & gp_code == 61
(2 real changes made)

. list hh_idOLD grp_code gpsubcl_code if  gp_code == 61, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code   gpsubc~e |
  |--------------------------------|
  |     1152          5          1 |
  |     1155          1          1 |
  |     1160          1          1 |
  |     1161          1          1 |
  |     1166          1          1 |
  |     1167          1          1 |
  |     1212          1          1 |
  |     1222          1          1 |
  |     1223          1          1 |
  |     1224          1          1 |
  |     1225          1          1 |
  |     1241          1          1 |
  |     1242          1          1 |
  |     1246          1          1 |
  |     1247          1          1 |
  |     1249          6          1 |
  |     1252          1          1 |
  |     1253          1          1 |
  |     1257          1          1 |
  |     1258          1          1 |
  |     1238          1          2 |
  |     1248          1          2 |
  |     1151          5          5 |
  |     1165          1          5 |
  |     1169          5          5 |
  |     1239          6          6 |
  |     1243          6          6 |
  |     1244          6          6 |
  |     1254          6          6 |
  |     1255          6          6 |
  |     1259          6          6 |
  |     1260          6          6 |
  |     1150          7          7 |
  |     1164          7          7 |
  |     1168          7          7 |
  |     1170          1          7 |
  |     1171          1          7 |
  |     1220          7          7 |
  |     1221          5          7 |
  |     1229          1          7 |
  +--------------------------------+

. 
. *Basgaon (GP 62)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 62

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |          3       15.00       15.00
          2 |          8       40.00       55.00
          4 |          7       35.00       90.00
          5 |          2       10.00      100.00
------------+-----------------------------------
      Total |         20      100.00

. list hh_idOLD grp_code gpsubcl_code if  gp_code == 62, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code   gpsubc~e |
  |--------------------------------|
  |     1513          1          1 |
  |     1517          1          1 |
  |     1529          1          1 |
  |     1511          2          2 |
  |     1512          2          2 |
  |     1515          2          2 |
  |     1516          2          2 |
  |     1519          2          2 |
  |     1520          2          2 |
  |     1527          2          2 |
  |     1528          2          2 |
  |     1518          4          4 |
  |     1522          4          4 |
  |     1523          4          4 |
  |     1524          4          4 |
  |     1526          4          4 |
  |     1532          4          4 |
  |     1533          4          4 |
  |     1514          5          5 |
  |     1525          5          5 |
  +--------------------------------+

. replace grp_change = 1 if hh_idOLD == 1513 | hh_idOLD == 1517 | hh_idOLD == 1529 | hh_idOLD == 1523 | hh_idOLD == 1524
(5 real changes made)

. replace grp_code = 5 if hh_idOLD == 1513 | hh_idOLD == 1517 | hh_idOLD == 1529 | hh_idOLD == 1523| hh_idOLD == 1524
(5 real changes made)

.  
. * Satoli (GP 63)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 63

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         10       58.82       58.82
          1 |          7       41.18      100.00
------------+-----------------------------------
      Total |         17      100.00

. list hh_idOLD grp_code gpsubcl_code if gp_code == 63, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code   gpsubc~e |
  |--------------------------------|
  |     1125          0          0 |
  |     1126          0          0 |
  |     1127          0          0 |
  |     1130          0          0 |
  |     1131          0          0 |
  |     1132          0          0 |
  |     1135          0          0 |
  |     1136          0          0 |
  |     1137          0          0 |
  |     1139          0          0 |
  |     1128          1          1 |
  |     1133          1          1 |
  |     1134          1          1 |
  |     1138          1          1 |
  |     1176          1          1 |
  |     1177          1          1 |
  |     1192          1          1 |
  |     1129          .          . |
  +--------------------------------+

. replace grp_change = 1 if hh_idOLD == 1129
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1129
(1 real change made)

. 
. * Galla (GP 64)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 64

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         27       67.50       67.50
          1 |         13       32.50      100.00
------------+-----------------------------------
      Total |         40      100.00

. list hh_idOLD grp_code gpsubcl_code if gp_code == 64, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code   gpsubc~e |
  |--------------------------------|
  |     1148          0          0 |
  |     1149          0          0 |
  |     1154          0          0 |
  |     1157          0          0 |
  |     1162          0          0 |
  |     1172          0          0 |
  |     1173          0          0 |
  |     1174          0          0 |
  |     1179          0          0 |
  |     1193          0          0 |
  |     1194          0          0 |
  |     1195          0          0 |
  |     1197          0          0 |
  |     1198          0          0 |
  |     1203          0          0 |
  |     1204          0          0 |
  |     1205          0          0 |
  |     1206          0          0 |
  |     1208          0          0 |
  |     1209          0          0 |
  |     1210          0          0 |
  |     1211          0          0 |
  |     1215          0          0 |
  |     1216          0          0 |
  |     1217          0          0 |
  |     1218          0          0 |
  |     1237          0          0 |
  |     1163          1          1 |
  |     1202          1          1 |
  |     1219          1          1 |
  |     1264          1          1 |
  |     1265          1          1 |
  |     1266          1          1 |
  |     1267          1          1 |
  |     1271          1          1 |
  |     1272          1          1 |
  |     1273          1          1 |
  |     1274          1          1 |
  |     1276          1          1 |
  |     1277          1          1 |
  +--------------------------------+

. replace hh_idOLDchange = 1 if hh_idOLD == 1163
(1 real change made)

. replace hh_idOLD = 1263 if hh_idOLD == 1163
(1 real change made)

. 
. * Gangakort (GP 65)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 65

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         24      100.00      100.00
------------+-----------------------------------
      Total |         24      100.00

. list hh_idOLD grp_code gpsubcl_code if  gp_code == 65, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code   gpsubc~e |
  |--------------------------------|
  |     2038          0          0 |
  |     2039          0          0 |
  |     2040          0          0 |
  |     2041          0          0 |
  |     2042          0          0 |
  |     2043          0          0 |
  |     2044          0          0 |
  |     2045          0          0 |
  |     2046          0          0 |
  |     2047          0          0 |
  |     2048          0          0 |
  |     2049          0          0 |
  |     2050          0          0 |
  |     2051          0          0 |
  |     2052          0          0 |
  |     2053          0          0 |
  |     2054          0          0 |
  |     2055          0          0 |
  |     2056          0          0 |
  |     2057          0          0 |
  |     2058          0          0 |
  |     2059          0          0 |
  |     2083          0          0 |
  |     2084          0          0 |
  +--------------------------------+

. 
. * Manarsa (GP 66)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 66

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         11       36.67       36.67
          1 |         19       63.33      100.00
------------+-----------------------------------
      Total |         30      100.00

. list hh_idOLD grp_code gpsubcl_code if  gp_code == 66, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code   gpsubc~e |
  |--------------------------------|
  |     1240          0          0 |
  |     1245          0          0 |
  |     1250          0          0 |
  |     1458          0          0 |
  |     1459          0          0 |
  |     1463          0          0 |
  |     1464          0          0 |
  |     1469          0          0 |
  |     1470          0          0 |
  |     1471          0          0 |
  |     1476          0          0 |
  |     1256          1          1 |
  |     1261          1          1 |
  |     1262          1          1 |
  |     1263          1          1 |
  |     1460          1          1 |
  |     1461          1          1 |
  |     1462          1          1 |
  |     1465          1          1 |
  |     1466          1          1 |
  |     1467          1          1 |
  |     1468          1          1 |
  |     1472          1          1 |
  |     1473          1          1 |
  |     1474          1          1 |
  |     1475          1          1 |
  |     1477          1          1 |
  |     1478          1          1 |
  |     1479          1          1 |
  |     1480          1          1 |
  +--------------------------------+

. replace grp_change = 1 if hh_idOLD == 1475
(1 real change made)

. replace grp_code = 0 if hh_idOLD == 1475
(1 real change made)

. 
. * Pitholi (GP 67)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 67

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |          2       10.00       10.00
          2 |          7       35.00       45.00
          3 |          2       10.00       55.00
          6 |          5       25.00       80.00
          7 |          4       20.00      100.00
------------+-----------------------------------
      Total |         20      100.00

. list hh_idOLD grp_code gpsubcl_code if  gp_code == 67, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code   gpsubc~e |
  |--------------------------------|
  |     1110          0          0 |
  |     1145          0          0 |
  |     1111          2          2 |
  |     1112          2          2 |
  |     1116          2          2 |
  |     1121          2          2 |
  |     1122          2          2 |
  |     1146          2          2 |
  |     1147          2          2 |
  |     1115          3          3 |
  |     1120          3          3 |
  |     1113          6          6 |
  |     1117          6          6 |
  |     1118          6          6 |
  |     1123          6          6 |
  |     1199          6          6 |
  |     1114          7          7 |
  |     1119          7          7 |
  |     1124          7          7 |
  |     1196          7          7 |
  +--------------------------------+

. replace grp_change = 1 if grp_code == 3 & gp_code == 67
(2 real changes made)

. replace grp_code = 0 if grp_code == 3 & gp_code == 67
(2 real changes made)

. replace grp_change = 1 if hh_idOLD == 1117
(1 real change made)

. replace grp_code = 2 if hh_idOLD == 1117
(1 real change made)

. replace a14a = trim(a14a)
(2,116 real changes made)

. replace a14a = "Pitholi" if a14a == "Darmoi" | a14a == "Darmoee"
(2 real changes made)

. 
. * Peora (GP 68)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 68

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |          1        2.50        2.50
          2 |          1        2.50        5.00
          3 |          2        5.00       10.00
          4 |          1        2.50       12.50
          5 |          7       17.50       30.00
          7 |          6       15.00       45.00
          8 |          1        2.50       47.50
          9 |          2        5.00       52.50
         10 |          3        7.50       60.00
         11 |          1        2.50       62.50
         14 |          4       10.00       72.50
         15 |          4       10.00       82.50
         16 |          1        2.50       85.00
         17 |          3        7.50       92.50
         18 |          1        2.50       95.00
         19 |          2        5.00      100.00
------------+-----------------------------------
      Total |         40      100.00

. list hh_idOLD grp_code gpsubcl_code if  gp_code == 68, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code   gpsubc~e |
  |--------------------------------|
  |     1231          1          1 |
  |     1184          2          2 |
  |     1180          3          3 |
  |     1191          3          3 |
  |     1104          4          4 |
  |     1100          5          5 |
  |     1107          5          5 |
  |     1141          5          5 |
  |     1142          5          5 |
  |     1186          5          5 |
  |     1214          5          5 |
  |     1232          5          5 |
  |     1101          7          7 |
  |     1102          7          7 |
  |     1106          7          7 |
  |     1109          7          7 |
  |     1140          7          7 |
  |     1181          7          7 |
  |     1185          8          8 |
  |     1188          9          9 |
  |     1230          9          9 |
  |     1144         10         10 |
  |     1175         10         10 |
  |     1213         10         10 |
  |     1105         11         11 |
  |     1187         14         14 |
  |     1189         14         14 |
  |     1200         14         14 |
  |     1226         14         14 |
  |     1143         15         15 |
  |     1182         15         15 |
  |     1201         15         15 |
  |     1235         15         15 |
  |     1190         16         16 |
  |     1158         17         17 |
  |     1183         17         17 |
  |     1234         17         17 |
  |     1233         18         18 |
  |     1157         19         19 |
  |     1227         19         19 |
  +--------------------------------+

. replace grp_change = 1 if hh_idOLD == 1231
(1 real change made)

. replace grp_code = 8 if hh_idOLD == 1231
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1190 & gp_code == 68
(1 real change made)

. replace grp_code = 17 if hh_idOLD == 1190 & gp_code == 68
(1 real change made)

. replace grp_change = 1 if (hh_idOLD == 1104 | hh_idOLD == 1157 | hh_idOLD == 1227) & gp_code == 68
(3 real changes made)

. replace grp_code = 17 if hh_idOLD == 1104 | hh_idOLD == 1227 & gp_code == 68
(2 real changes made)

. replace grp_code = 17 if hh_idOLD == 1157 & gp_code == 68
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1233 & gp_code == 68
(1 real change made)

. replace grp_code = 15 if hh_idOLD == 1233 & gp_code == 68
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1105 & gp_code == 68
(1 real change made)

. replace grp_code = 8 if hh_idOLD == 1105 & gp_code == 68
(1 real change made)

. replace grp_change = 1 if gpsubcl_code == 9 & gp_code == 68
(2 real changes made)

. replace grp_code = 8 if gpsubcl_code == 9 & gp_code == 68
(2 real changes made)

. replace grp_change = 1 if gpsubcl_code == 10 & gp_code == 68
(3 real changes made)

. replace grp_code = 8 if gpsubcl_code == 10 & gp_code == 68
(3 real changes made)

. replace grp_change = 1 if gpsubcl_code == 3 & gp_code == 68
(2 real changes made)

. replace grp_code = 8 if gpsubcl_code == 3 & gp_code == 68
(2 real changes made)

. replace grp_change = 1 if gpsubcl_code == 2 & gp_code == 68
(1 real change made)

. replace grp_code = 8 if gpsubcl_code == 2 & gp_code == 68
(1 real change made)

. 
. * Bahuli (GP 69)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 69

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |         15       51.72       51.72
          2 |          3       10.34       62.07
          3 |         11       37.93      100.00
------------+-----------------------------------
      Total |         29      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 69, separator (0) noobs

  +------------------------------+
  | hh_idOLD   grp_code     a14a |
  |------------------------------|
  |     1791          1   Bahuli |
  |     1792          1   Bahuli |
  |     1793          1   Bahuli |
  |     1794          1   Bahuli |
  |     1795          1   Bahuli |
  |     1796          1   Bahuli |
  |     1797          1   Bahuli |
  |     1798          1   Bahuli |
  |     1799          1   Bahuli |
  |     1836          1   Bahuli |
  |     1841          1   Bahuli |
  |     1842          1   Bahuli |
  |     1846          1   Bahuli |
  |     1847          1   Bahuli |
  |     1851          1   Bahuli |
  |     1750          2   Bahuli |
  |     1837          2   Bahuli |
  |     1838          2   Bahuli |
  |     1839          3   Bahuli |
  |     1840          3   Bahuli |
  |     1843          3   Bahuli |
  |     1844          3   Bahuli |
  |     1845          3   Bahuli |
  |     1848          3   Bahuli |
  |     1849          3   Bahuli |
  |     1850          3   Bahuli |
  |     1852          3   Bahuli |
  |     1853          3   Bahuli |
  |     1854          3   Bahuli |
  +------------------------------+

. replace grp_change = 1 if hh_idOLD == 1842 & gp_code == 69
(1 real change made)

. replace grp_code = 2 if hh_idOLD == 1842 & gp_code == 69
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1847 & gp_code == 69
(1 real change made)

. replace grp_code = 2 if hh_idOLD == 1847 & gp_code == 69
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1851 & gp_code == 69
(1 real change made)

. replace grp_code = 2 if hh_idOLD == 1851 & gp_code == 69
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1849 & gp_code == 69
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1849 & gp_code == 69
(1 real change made)

. replace gp_change = 1 if hh_idOLD == 1790 & gp_code == 60
(1 real change made)

. replace gp_code = 69 if hh_idOLD == 1790 & gp_code == 60
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1790 & gp_code == 69
(1 real change made)

. 
. * Junayal (GP 70)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 70

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          7 |          5       17.24       17.24
          8 |         15       51.72       68.97
         10 |          4       13.79       82.76
         11 |          3       10.34       93.10
         12 |          2        6.90      100.00
------------+-----------------------------------
      Total |         29      100.00

. list hh_idOLD grp_code a14a  if gp_code == 70, separator (0) noobs

  +-------------------------------+
  | hh_idOLD   grp_code      a14a |
  |-------------------------------|
  |     1982          7   Junayal |
  |     1983          7   Junayal |
  |     1986          7   Junayal |
  |     1987          7   Junayal |
  |     2001          7   Junayal |
  |     1977          8   Junayal |
  |     1978          8   Junayal |
  |     1979          8   Junayal |
  |     1980          8   Junayal |
  |     1981          8   Junayal |
  |     1984          8   Junayal |
  |     1985          8   Junayal |
  |     1989          8   Junayal |
  |     1993          8   Junayal |
  |     1994          8   Junayal |
  |     1995          8   Junayal |
  |     1996          8   Junayal |
  |     2000          8   Junayal |
  |     2002          8   Junayal |
  |     2003          8   Junayal |
  |     1990         10   Junayal |
  |     1991         10   Junayal |
  |     1997         10   Junayal |
  |     2005         10   Junayal |
  |     1998         11   Junayal |
  |     2004         11   Junayal |
  |     2007         11   Junayal |
  |     1988         12   Junayal |
  |     1999         12   Junayal |
  +-------------------------------+

. replace grp_change = 1 if hh_idOLD == 2005 & gp_code == 70
(1 real change made)

. replace grp_code = 11 if hh_idOLD == 2005 & gp_code == 70
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 2004 & gp_code == 70
(1 real change made)

. replace grp_code = 10 if hh_idOLD == 2004 & gp_code == 70
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1999 & gp_code == 70
(1 real change made)

. replace grp_code = 11 if hh_idOLD == 1999 & gp_code == 70
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1982 & gp_code == 70
(1 real change made)

. replace grp_code = 10 if hh_idOLD == 1982 & gp_code == 70
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1988 & gp_code == 70
(1 real change made)

. replace grp_code = 8 if hh_idOLD == 1988 & gp_code == 70
(1 real change made)

. 
. * Mankot (GP 71)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 71

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |         21       51.22       51.22
          2 |         20       48.78      100.00
------------+-----------------------------------
      Total |         41      100.00

. list hh_idOLD grp_code a14a if gp_code == 71, separator (0) noobs

  +------------------------------------+
  | hh_idOLD   grp_code           a14a |
  |------------------------------------|
  |     1791          1         Mankot |
  |     1857          1         Mankot |
  |     1858          1         Mankot |
  |     1859          1         Mankot |
  |     1860          1         Mankot |
  |     1861          1         Mankot |
  |     1862          1         Mankot |
  |     1863          1         Mankot |
  |     1864          1         Mankot |
  |     1865          1         Mankot |
  |     1866          1         Mankot |
  |     1867          1         Mankot |
  |     1868          1         Mankot |
  |     1869          1         Mankot |
  |     1870          1        Mankote |
  |     1871          1         Mankot |
  |     1872          1         Mankot |
  |     1873          1         Mankot |
  |     1873          1         Mankot |
  |     1874          1         Mankot |
  |     1875          1         Mankot |
  |     1820          2   Malla Mankot |
  |     1821          2   Malla Mankot |
  |     1822          2   Malla Mankot |
  |     1823          2   Malla Mankot |
  |     1824          2   Malla Mankot |
  |     1838          2         Mankot |
  |     1839          2         Mankot |
  |     1840          2         Mankot |
  |     1855          2         Mankot |
  |     1856          2         Mankot |
  |     1907          2         Mankot |
  |     1908          2         Mankot |
  |     1909          2         Mankot |
  |     1910          2         Mankot |
  |     1911          2         Mankot |
  |     1924          2   Malla Mankot |
  |     1928          2   Malla Mankot |
  |     1929          2   Mankot Malla |
  |     1930          2   Malla Mankot |
  |     1931          2   Malla Mankot |
  +------------------------------------+

. replace village = "Mankot" if hh_id == 1852
(1 real change made)

. 
. * Mantoli (GP 72)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 72

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         21       70.00       70.00
          1 |          9       30.00      100.00
------------+-----------------------------------
      Total |         30      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 72, separator (0) noobs

  +-------------------------------+
  | hh_idOLD   grp_code      a14a |
  |-------------------------------|
  |     1799          0   Mantoli |
  |     1805          0   Mantoli |
  |     1806          0   Mantoli |
  |     1807          0   Mantoli |
  |     1808          0   Mantoli |
  |     1809          0   Mantoli |
  |     1810          0   Mantoli |
  |     1811          0   Mantoli |
  |     1812          0   Mantoli |
  |     1813          0   Mantoli |
  |     1814          0   Mantoli |
  |     1815          0   Mantoli |
  |     1816          0   Mantoli |
  |     1817          0   Mantoli |
  |     1818          0   Mantoli |
  |     1819          0   Mantoli |
  |     1820          0   Mantoli |
  |     1821          0   Mantoli |
  |     1822          0   Mantoli |
  |     1823          0   Mantoli |
  |     1824          0   Mantoli |
  |     1655          1   Mantoli |
  |     1656          1   Mantoli |
  |     1659          1   Mantoli |
  |     1660          1   Mantoli |
  |     1661          1   Mantoli |
  |     1797          1   Mantoli |
  |     1798          1   Mantoli |
  |     1803          1   Mantoli |
  |     1804          1   Mantoli |
  +-------------------------------+

. 
. * Sani Udiyar (GP 73)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 73

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |         14       46.67       46.67
          2 |          7       23.33       70.00
          6 |          4       13.33       83.33
          8 |          2        6.67       90.00
          9 |          3       10.00      100.00
------------+-----------------------------------
      Total |         30      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 73, separator (0) noobs

  +------------------------------------+
  | hh_idOLD   grp_code           a14a |
  |------------------------------------|
  |     1685          1    Sani Udiyar |
  |     1686          1         Sadiya |
  |     1689          1    Sani Udiyar |
  |     1690          1       Nagudhar |
  |     1694          1    Sani Udiyar |
  |     1695          1    Sani Udiyar |
  |     1701          1    Sani Udiyar |
  |     1702          1      Nakulidar |
  |     1760          1      Payyapani |
  |     1761          1         Bangla |
  |     1780          1    Sani Udiyar |
  |     1785          1    Sani Udiyar |
  |     1786          1    Sani Udiyar |
  |     1787          1    Sani Udiyar |
  |     1691          2   Naukari Dhar |
  |     1700          2    Sani Udiyar |
  |     1777          2    Sani Udiyae |
  |     1778          2    Sani Udiyar |
  |     1781          2     Saniudiyar |
  |     1788          2    Sani Udiyar |
  |     1790          2       Danuthal |
  |     1696          6    Sani Udiyar |
  |     1779          6    Sani Udiyar |
  |     1782          6    Sani Udiyar |
  |     1783          6    Sani Udiyar |
  |     1784          8    Sani Udiyar |
  |     1792          8    Sani Udiyar |
  |     1789          9    Sani Udiyar |
  |     1793          9       Daduthal |
  |     1794          9    Sani Udiyar |
  +------------------------------------+

. replace grp_change = 1 if hh_idOLD == 1760
(1 real change made)

. replace grp_code = 2 if hh_idOLD == 1760 & gp_code == 73
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1787
(1 real change made)

. replace grp_code = 6 if hh_idOLD == 1787 & gp_code == 73
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1700
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1700 & gp_code == 73
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1790 & gp_code == 73
(1 real change made)

. replace grp_code = 9 if hh_idOLD == 1790 & gp_code == 73
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1789
(1 real change made)

. replace grp_code = 8 if hh_idOLD == 1789 & gp_code == 73
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1777
(1 real change made)

. replace grp_code = 6 if hh_idOLD == 1777 & gp_code == 73
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1696
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1696 & gp_code == 73
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1691
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1691 & gp_code == 73
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1786
(1 real change made)

. replace grp_code = 2 if hh_idOLD == 1786 & gp_code == 73
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1788
(1 real change made)

. replace grp_code = 6 if hh_idOLD == 1788 & gp_code == 73
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1761
(1 real change made)

. replace grp_code = 6 if hh_idOLD == 1761 & gp_code == 73
(1 real change made)

. replace grp_change = 1 if grp_code == 9 & gp_code == 73
(2 real changes made)

. replace grp_code = 8 if grp_code == 9 & gp_code == 73
(3 real changes made)

. replace grp_change = 1 if hh_idOLD == 1782 & gp_code == 73
(1 real change made)

. replace grp_code = 6 if hh_idOLD == 1782 & gp_code == 73
(0 real changes made)

. 
. * Chahana / Simi Nargot (GP 74)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 74

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |         20      100.00      100.00
------------+-----------------------------------
      Total |         20      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 74, separator (0) noobs

  +---------------------------------+
  | hh_idOLD   grp_code        a14a |
  |---------------------------------|
  |     1762          1    Chauhana |
  |     1905          1    Chauhana |
  |     1906          1    Chauhana |
  |     1921          1    Chauhana |
  |     1926          1   Chauhanna |
  |     1941          1    Chauhana |
  |     1942          1   Chauhanna |
  |     2088          1    Chauhana |
  |     2089          1    Chauhana |
  |     2090          1    Chauhana |
  |     2091          1    Chauhana |
  |     2092          1    Chauhana |
  |     2093          1    Chauhana |
  |     2094          1    Chauhana |
  |     2095          1    Chauhana |
  |     2096          1    Chauhana |
  |     2097          1    Chauhana |
  |     2098          1    Chauhana |
  |     2099          1   Chauhanna |
  |     2100          1    Chauhana |
  +---------------------------------+

. 
. * Tachani (GP 75) 
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 75

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         16      100.00      100.00
------------+-----------------------------------
      Total |         16      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 75, separator (0) noobs

  +-------------------------------+
  | hh_idOLD   grp_code      a14a |
  |-------------------------------|
  |     1800          0   Tachani |
  |     1801          0   Tachani |
  |     1802          0   Tachani |
  |     1803          0   Tachani |
  |     1804          0   Tachani |
  |     1805          0   Tachani |
  |     1806          0   Tachani |
  |     1807          0   Tachani |
  |     1808          0   Tachani |
  |     1810          0   Tachant |
  |     1811          0   Tachani |
  |     1815          0   Tachani |
  |     1816          0   Tachani |
  |     1817          0   Tachani |
  |     1818          0   Tachani |
  |     1819          0   Tachani |
  +-------------------------------+

. 
. * Binkholi (GP 76)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 76

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         17       56.67       56.67
          1 |         13       43.33      100.00
------------+-----------------------------------
      Total |         30      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 76, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code       a14a |
  |--------------------------------|
  |     1585          0   Binkholi |
  |     1586          0   Binkholi |
  |     1587          0   Binkholi |
  |     1635          0   Binkholi |
  |     1637          0   Binkholi |
  |     1638          0   Binkholi |
  |     1641          0   Binkholi |
  |     1642          0   Binkholi |
  |     1643          0   Binkholi |
  |     1644          0   Binkholi |
  |     1645          0   Binkholi |
  |     1647          0   Binkholi |
  |     1648          0   Binkholi |
  |     1649          0   Binkholi |
  |     1650          0   Binkholi |
  |     1654          0   Binkholi |
  |     1802          0   Binkholi |
  |     1636          1   Binkholi |
  |     1639          1   Binkholi |
  |     1640          1   Binkholi |
  |     1646          1   Binkholi |
  |     1651          1   Binkholi |
  |     1652          1   Binkholi |
  |     1653          1   Binkholi |
  |     1657          1   Binkholi |
  |     1658          1   Binkholi |
  |     1795          1   Binkholi |
  |     1796          1   Binkholi |
  |     1800          1   Binkholi |
  |     1801          1   Binkholi |
  +--------------------------------+

. replace grp_change = 1 if hh_idOLD == 1654 & gp_code == 76
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1654 & gp_code == 76 
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1802 & gp_code == 76
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1802 & gp_code == 76 
(1 real change made)

. 
. * Dudila (GP 77)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 77

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |          5       16.67       16.67
          2 |          7       23.33       40.00
          3 |          2        6.67       46.67
          4 |         13       43.33       90.00
          5 |          3       10.00      100.00
------------+-----------------------------------
      Total |         30      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 77, separator (0) noobs

  +------------------------------------------+
  | hh_idOLD   grp_code                 a14a |
  |------------------------------------------|
  |     1677          1         Talli Lohari |
  |     1682          1               Lohari |
  |     1687          1         Talli Lohari |
  |     1692          1               Lohari |
  |     1697          1               Lohari |
  |     1666          2         Malla Lohari |
  |     1683          2               Lohari |
  |     1684          2               Lohari |
  |     1688          2         Talla Lohari |
  |     1693          2               Lohari |
  |     1698          2               Lohari |
  |     1699          2               Lohari |
  |     1678          3               Dudila |
  |     1679          3               Dudila |
  |     1662          4               Dudila |
  |     1663          4               Dudila |
  |     1664          4               Dudila |
  |     1665          4               Dudila |
  |     1667          4               Dudila |
  |     1668          4               Dudila |
  |     1671          4               Dudila |
  |     1672          4               Dudila |
  |     1673          4               Dudila |
  |     1675          4               Dudila |
  |     1676          4               Dudila |
  |     1680          4               Dudila |
  |     1681          4               Dudila |
  |     1669          5   Dudila(Chakavgada) |
  |     1670          5           Chakavgada |
  |     1674          5           Chakalgada |
  +------------------------------------------+

. replace grp_change = 1 if hh_idOLD == 1666 & gp_code == 77
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1666 & gp_code == 77 
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1683 & gp_code == 77
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1683 & gp_code == 77 
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1698 & gp_code == 77
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1698 & gp_code == 77 
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1684 & gp_code == 77
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1684 & gp_code == 77 
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1688 & gp_code == 77
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1688 & gp_code == 77 
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1693 & gp_code == 77
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1693 & gp_code == 77 
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1699 & gp_code == 77
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1699 & gp_code == 77 
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1678 & gp_code == 77
(1 real change made)

. replace grp_code = 4 if hh_idOLD == 1678 & gp_code == 77 
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1679 & gp_code == 77
(1 real change made)

. replace grp_code = 5 if hh_idOLD == 1679 & gp_code == 77 
(1 real change made)

. 
. * Matena (GP 78)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 78

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         12       30.00       30.00
          1 |         10       25.00       55.00
          2 |          8       20.00       75.00
          3 |         10       25.00      100.00
------------+-----------------------------------
      Total |         40      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 78, separator (0) noobs

  +---------------------------------------------+
  | hh_idOLD   grp_code                    a14a |
  |---------------------------------------------|
  |     1703          0                  Matena |
  |     1704          0                  Matena |
  |     1705          0                  Matena |
  |     1708          0                  Matena |
  |     1709          0                  Matena |
  |     1710          0                  Matena |
  |     1713          0                  Matena |
  |     1714          0                  Matena |
  |     1715          0                  Matena |
  |     1718          0                  Matena |
  |     1746          0                  Matena |
  |     1747          0                  Matena |
  |     1706          1                  Matena |
  |     1707          1                  Matena |
  |     1711          1                  Matena |
  |     1712          1                  Matena |
  |     1716          1   Matena,  Bhandaridhar |
  |     1717          1   Matena,  Bhandaridhar |
  |     1748          1                  Matena |
  |     1825          1                  Matena |
  |     1826          1                  Matena |
  |     1831          1                  Matena |
  |     1749          2                  Matena |
  |     1751          2                  Matena |
  |     1752          2                  Matena |
  |     1753          2                  Matena |
  |     1756          2                  Matena |
  |     1827          2                  Matena |
  |     1832          2                  Matena |
  |     1833          2                  Matena |
  |     1754          3                  Matena |
  |     1755          3                  Matena |
  |     1757          3                  Matena |
  |     1758          3                  Matena |
  |     1759          3                  Matena |
  |     1828          3                  Matena |
  |     1829          3                  Matena |
  |     1830          3                  Matena |
  |     1834          3                  Matena |
  |     1835          3                  Matena |
  +---------------------------------------------+

. 
. * Chhuriya (GP 79)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 79

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |         10       50.00       50.00
          2 |         10       50.00      100.00
------------+-----------------------------------
      Total |         20      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 79, separator (0) noobs

  +-------------------------------+
  | hh_idOLD   grp_code      a14a |
  |-------------------------------|
  |     1607          1   Churiya |
  |     1622          1   Churiya |
  |     1623          1   Churiya |
  |     1628          1   Churiya |
  |     1630          1   Churiya |
  |     1719          1   Churiya |
  |     1734          1   Churiya |
  |     1735          1   Churiya |
  |     1738          1   Churiya |
  |     1739          1   Churiya |
  |     1589          2   Churiya |
  |     1620          2   Churiya |
  |     1627          2   Churiya |
  |     1629          2   Churiya |
  |     1720          2   churiya |
  |     1736          2   churiya |
  |     1737          2   Churiya |
  |     1740          2   Churiya |
  |     1741          2   Churiya |
  |     1912          2   Churiya |
  +-------------------------------+

. 
. * Lilli (GP 80}
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 80

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          2 |         14       31.11       31.11
          3 |         18       40.00       71.11
          5 |         13       28.89      100.00
------------+-----------------------------------
      Total |         45      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 80, separator (0) noobs

  +---------------------------------------+
  | hh_idOLD   grp_code              a14a |
  |---------------------------------------|
  |     1368          2              Lili |
  |     1370          2              Lili |
  |     1371          2              Lili |
  |     1372          2              Lili |
  |     1595          2              Lili |
  |     1596          2              Lili |
  |     1597          2              Lili |
  |     1632          2              Lili |
  |     1633          2              Lili |
  |     1742          2              Lili |
  |     1743          2              Lili |
  |     1744          2              Lili |
  |     1745          2              Lili |
  |     1825          2              Lili |
  |     1615          3              Lili |
  |     1616          3              Lili |
  |     1617          3              Lili |
  |     1925          3              Lili |
  |     1933          3              Lili |
  |     1955          3              Lili |
  |     1957          3              Lili |
  |     1958          3   Charkyouna Lili |
  |     1959          3              Lili |
  |     1960          3              Lili |
  |     1962          3              Lili |
  |     1963          3              Lili |
  |     1964          3              Lili |
  |     1968          3              Lili |
  |     1972          3              Lili |
  |     1973          3        Charkyouna |
  |     1974          3          Charkuda |
  |     1975          3          Charkyud |
  |     1832          5              Lili |
  |     1923          5              Lili |
  |     1954          5              Lili |
  |     1956          5              Lili |
  |     1961          5              Lili |
  |     1965          5              Lili |
  |     1966          5              Lili |
  |     1967          5              Lili |
  |     1969          5              Lili |
  |     1970          5              Lili |
  |     1971          5              Lili |
  |     1976          5              Lili |
  |     1992          5              Lili |
  +---------------------------------------+

. replace grp_change = 1 if hh_idOLD == 1954 & gp_code == 80
(1 real change made)

. replace grp_code = 3 if hh_idOLD == 1954 & gp_code == 80
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1965 & gp_code == 80
(1 real change made)

. replace grp_code = 3 if hh_idOLD == 1965 & gp_code == 80
(1 real change made)

. 
. * Ramari (GP 81}
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 81

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         13       36.11       36.11
          1 |         11       30.56       66.67
          2 |          5       13.89       80.56
          9 |          7       19.44      100.00
------------+-----------------------------------
      Total |         36      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 81, separator (0) noobs

  +---------------------------------------+
  | hh_idOLD   grp_code              a14a |
  |---------------------------------------|
  |     1290          0            Ramari |
  |     1369          0            Ramari |
  |     1373          0            Ramari |
  |     1377          0            Ramari |
  |     1379          0            Ramari |
  |     1590          0            Ramari |
  |     1592          0            Ramari |
  |     1598          0            Ramari |
  |     1608          0            Ramari |
  |     1610          0            Ramari |
  |     1624          0            Ramari |
  |     1731          0            Ramari |
  |     1732          0     Badi Paniyali |
  |     1289          1           Kimkhet |
  |     1374          1            Ramari |
  |     1375          1           Kimkhet |
  |     1378          1            Ramari |
  |     1381          1           Kimkhet |
  |     1591          1            Ramari |
  |     1593          1            Ramari |
  |     1594          1            Ramari |
  |     1599          1   Ramari, Kimkhet |
  |     1600          1   Ramari, Kimkhet |
  |     1894          1            Ramari |
  |     1367          2            Ramari |
  |     1380          2             Ramri |
  |     1614          2            Ramari |
  |     1829          2             Ramri |
  |     1831          2             Ramri |
  |     1376          9            Ramari |
  |     1382          9            Ramari |
  |     1609          9            Ramari |
  |     1611          9            Ramari |
  |     1612          9            Ramari |
  |     1613          9            Ramari |
  |     1830          9             Ramri |
  +---------------------------------------+

. replace grp_change = 1 if hh_idOLD == 1731 & gp_code == 81
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1731 & gp_code == 81
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1624 & gp_code == 81
(1 real change made)

. replace grp_code = 1 if hh_idOLD == 1624 & gp_code == 81
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1379 & gp_code == 81
(1 real change made)

. replace grp_code = 2 if hh_idOLD == 1379  & gp_code == 81
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1610  & gp_code == 81
(1 real change made)

. replace grp_code = 9 if hh_idOLD == 1610 & gp_code == 81
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1612  & gp_code == 81
(1 real change made)

. replace grp_code = 2 if hh_idOLD == 1612 & gp_code == 81
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1369 & gp_code == 81
(1 real change made)

. replace grp_code = 2 if hh_idOLD == 1369 & gp_code == 81
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1613 & gp_code == 81
(1 real change made)

. replace grp_code = 2 if hh_idOLD == 1613 & gp_code == 81
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1732 & gp_code == 81
(1 real change made)

. replace grp_code = 2 if hh_idOLD == 1732 & gp_code == 81
(1 real change made)

. 
. * Jhopra (GP 82)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 82

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |          9       45.00       45.00
          2 |          6       30.00       75.00
          4 |          1        5.00       80.00
          5 |          4       20.00      100.00
------------+-----------------------------------
      Total |         20      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 82, separator (0) noobs

  +------------------------------+
  | hh_idOLD   grp_code     a14a |
  |------------------------------|
  |     1360          1   Jhopda |
  |     1361          1   Jhopda |
  |     1363          1   Jhopda |
  |     1365          1   Jhopda |
  |     1366          1   Jhopda |
  |     1601          1   Jhopda |
  |     1602          1   Jhopda |
  |     1603          1   Jhopda |
  |     1618          1   Jhopda |
  |     1364          2   Jhopra |
  |     1605          2   Jhopda |
  |     1606          2   Jhopda |
  |     1619          2   Jhopda |
  |     1892          2   Jhopda |
  |     1893          2   Jhopda |
  |     1621          4   Jhopda |
  |     1362          5   Jhopda |
  |     1588          5   Jhopda |
  |     1604          5   Jhopda |
  |     1730          5   Jhopda |
  +------------------------------+

. replace grp_change = 1 if hh_idOLD == 1618 & gp_code == 82
(1 real change made)

. replace grp_code = 5 if hh_idOLD == 1618 & gp_code == 82
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1621 & gp_code == 82
(1 real change made)

. replace grp_code = 5 if hh_idOLD == 1621 & gp_code == 82
(1 real change made)

. 
. 
. * Jakh (GP 83)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 83

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |          5       17.24       17.24
          2 |          3       10.34       27.59
          3 |          2        6.90       34.48
          6 |         13       44.83       79.31
          8 |          6       20.69      100.00
------------+-----------------------------------
      Total |         29      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 83, separator (0) noobs

  +-----------------------------+
  | hh_idOLD   grp_code    a14a |
  |-----------------------------|
  |     1494          1   Jakha |
  |     1498          1   Jakha |
  |     1499          1   Jakha |
  |     1500          1   Jakha |
  |     1502          1   Jakha |
  |     1481          2   Jakha |
  |     1487          2   Jakha |
  |     1503          2   Jakha |
  |     1486          3   Jakha |
  |     1492          3   Jakha |
  |     1482          6   Jakha |
  |     1483          6   Jakha |
  |     1484          6   Jakha |
  |     1488          6   Jakha |
  |     1489          6   Jakha |
  |     1490          6   Jakha |
  |     1493          6   Jakha |
  |     1495          6   Jakha |
  |     1501          6   Jakha |
  |     1505          6   Jakha |
  |     1506          6   Jakha |
  |     1507          6   Jakha |
  |     1510          6   Jakha |
  |     1485          8   Jakha |
  |     1491          8   Jakha |
  |     1496          8   Jakha |
  |     1497          8   Jakha |
  |     1508          8   Jakha |
  |     1509          8   Jakha |
  +-----------------------------+

. replace grp_change = 1 if gpsubcl_code == 2 & gp_code == 83
(3 real changes made)

. replace grp_code = 6 if gpsubcl_code == 2 & gp_code == 83
(3 real changes made)

. replace grp_change = 1 if hh_idOLD == 1503 & gp_code == 83
(0 real changes made)

. replace grp_code = 8 if hh_idOLD == 1503 & gp_code == 83
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1510 & gp_code == 83
(1 real change made)

. replace grp_code = 3 if hh_idOLD == 1510 & gp_code == 83
(1 real change made)

. replace gp_change = 1 if hh_idOLD == 1504
(1 real change made)

. replace gp_code = 83 if hh_idOLD == 1504
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1500 & gp_code == 83
(1 real change made)

. replace grp_code = 6 if hh_idOLD == 1500 & gp_code == 83
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1494 & gp_code == 83
(1 real change made)

. replace grp_code = 6 if hh_idOLD == 1494 & gp_code == 83
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1502 & gp_code == 83
(1 real change made)

. replace grp_code = 6 if hh_idOLD == 1502 & gp_code == 83
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1499 & gp_code == 83
(1 real change made)

. replace grp_code = 6 if hh_idOLD == 1499 & gp_code == 83
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1498 & gp_code == 83
(1 real change made)

. replace grp_code = 6 if hh_idOLD == 1498 & gp_code == 83
(1 real change made)

. 
. * Gahlna (GP 84)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 84

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |          1        4.55        4.55
          1 |          1        4.55        9.09
          6 |         20       90.91      100.00
------------+-----------------------------------
      Total |         22      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 84, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code       a14a |
  |--------------------------------|
  |     1285          0   Paniyali |
  |     1286          1   Paniyali |
  |     1108          6    Gahlana |
  |     1228          6    Gahlana |
  |     1236          6    Gahlana |
  |     1302          6    Gahlana |
  |     1303          6    Gahlana |
  |     1304          6    Gahlana |
  |     1305          6    Gahlana |
  |     1307          6    Gahlana |
  |     1308          6    Gahlana |
  |     1309          6    Gahlana |
  |     1310          6    Gahlana |
  |     1311          6    Gahlana |
  |     1312          6    Gahlana |
  |     1313          6    Gahlana |
  |     1314          6    Gahlana |
  |     1315          6    Gahlana |
  |     1317          6    Gahlana |
  |     1318          6    Gahlana |
  |     1319          6    Gahlana |
  |     1320          6    Gahlana |
  +--------------------------------+

. replace gp_change = 1 if hh_idOLD == 1285
(1 real change made)

. replace gp_code = 87 if hh_idOLD == 1285
(1 real change made)

. replace gp_change = 1 if hh_idOLD == 1286
(1 real change made)

. replace gp_code = 87 if hh_idOLD == 1286
(1 real change made)

. 
. * Jalal Gaon (GP 85)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 85

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |          3       23.08       23.08
          2 |         10       76.92      100.00
------------+-----------------------------------
      Total |         13      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 85, separator (0) noobs

  +----------------------------------+
  | hh_idOLD   grp_code         a14a |
  |----------------------------------|
  |     1306          1        Jalal |
  |     1321          1   Jalal Gaon |
  |     1322          1   Jalal Gaon |
  |     1316          2   Jalal Gaon |
  |     1323          2   Jalal Gaon |
  |     1324          2   Jalal Gaon |
  |     1327          2   Jalal Gaon |
  |     1328          2   Jalal Gaon |
  |     1329          2   Jalal Gaon |
  |     1331          2   Jalal Gaon |
  |     1333          2   Jalal Gaon |
  |     1335          2        Jalal |
  |     1336          2        Jalal |
  |     1332          .   Jalal Gaon |
  +----------------------------------+

. replace grp_change = 1 if hh_idOLD == 1332 & gp_code == 85
(1 real change made)

. replace grp_code = 2 if hh_idOLD == 1332 & gp_code == 85
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1322 & gp_code == 85
(1 real change made)

. replace grp_code = 2 if hh_idOLD == 1322 & gp_code == 85
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1306 & gp_code == 85
(1 real change made)

. replace grp_code = 2 if hh_idOLD == 1306 & gp_code == 85
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1321 & gp_code == 85
(1 real change made)

. replace grp_code = 2 if hh_idOLD == 1321 & gp_code == 85
(1 real change made)

. 
. * Vijroli (GP 86)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 86

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         12       60.00       60.00
          1 |          7       35.00       95.00
          7 |          1        5.00      100.00
------------+-----------------------------------
      Total |         20      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 86, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code       a14a |
  |--------------------------------|
  |     1405          0    Vijroli |
  |     1408          0    Vijroli |
  |     1409          0    Vijroli |
  |     1410          0    Vijroli |
  |     1411          0    Vijroli |
  |     1418          0    Vijroli |
  |     1419          0    Vijroli |
  |     1421          0    Vijroli |
  |     1423          0    Vijroli |
  |     1424          0    Vijroli |
  |     1425          0    Bijroli |
  |     1426          0    Bijroli |
  |     1402          1     Sakola |
  |     1404          1    Sakhula |
  |     1407          1    Vijroli |
  |     1415          1    Vijroli |
  |     1416          1    Vijroli |
  |     1417          1    Sakhela |
  |     1422          1    Vijroli |
  |     1406          7   Shakhula |
  +--------------------------------+

. replace grp_change = 1 if hh_idOLD == 1404 & gp_code == 86
(1 real change made)

. replace grp_code = 0 if hh_idOLD == 1404 & gp_code == 86
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1407 & gp_code == 86
(1 real change made)

. replace grp_code = 0 if hh_idOLD == 1407 & gp_code == 86
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1406 & gp_code == 86
(1 real change made)

. replace grp_code = 0 if hh_idOLD == 1406 & gp_code == 86
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1416 & gp_code == 86
(1 real change made)

. replace grp_code = 0 if hh_idOLD == 1416 & gp_code == 86
(1 real change made)

. 
. * Panyali Lagga Sharana (GP 87)
. sort grp_code hh_idOLD 

. tab grp_code if gp_code == 87

   Sampling |
   code for |
interventio |
n (includes |
   tok code |
reassignmen |
        ts) |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         11       36.67       36.67
          1 |         14       46.67       83.33
          3 |          1        3.33       86.67
          4 |          4       13.33      100.00
------------+-----------------------------------
      Total |         30      100.00

. list hh_idOLD grp_code a14a  if  gp_code == 87, separator (0) noobs

  +--------------------------------+
  | hh_idOLD   grp_code       a14a |
  |--------------------------------|
  |     1156          0   Paniyali |
  |     1207          0   Paniyali |
  |     1278          0   Paniyali |
  |     1279          0   Paniyali |
  |     1280          0   Paniyali |
  |     1284          0   Paniyali |
  |     1285          0   Paniyali |
  |     1292          0   Paniyali |
  |     1293          0   Paniyali |
  |     1294          0   Paniyali |
  |     1301          0   Paniyali |
  |     1257          1   Paniyali |
  |     1268          1   Paniyali |
  |     1270          1   Paniyali |
  |     1281          1   Paniyali |
  |     1282          1   Paniyali |
  |     1283          1   Paniyali |
  |     1286          1   Paniyali |
  |     1287          1   Paniyali |
  |     1288          1   Paniyali |
  |     1291          1   Paniyali |
  |     1295          1   Paniyali |
  |     1296          1   Paniyali |
  |     1297          1   Paniyali |
  |     1299          1   Paniyali |
  |     1403          3   Paniyali |
  |     1269          4   Paniyali |
  |     1298          4   Paniyali |
  |     1300          4   Paniyali |
  |     1401          4   Paniyali |
  +--------------------------------+

. replace grp_change = 1 if hh_idOLD == 1294& gp_code == 87
(1 real change made)

. replace grp_code = 0 if hh_idOLD == 1294 & gp_code == 87
(0 real changes made)

. replace grp_change = 1 if hh_idOLD == 1269 & gp_code == 87
(1 real change made)

. replace grp_code = 0 if hh_idOLD == 1269 & gp_code == 87
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1286 & gp_code == 87
(1 real change made)

. replace grp_code = 0 if hh_idOLD == 1286 & gp_code == 87
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1301 & gp_code == 87
(1 real change made)

. replace grp_code = 4 if hh_idOLD == 1301 & gp_code == 87
(1 real change made)

. replace grp_code = 4 if hh_idOLD == 1297 & gp_code == 87
(1 real change made)

. replace grp_change = 1 if hh_idOLD == 1403 & gp_code == 87
(1 real change made)

. replace grp_code = 4 if hh_idOLD == 1403 & gp_code == 87
(1 real change made)

. 
. * Create unique tok-counting variable
. gen uniquegrp = gp_code * 1000

. replace uniquegrp  = uniquegrp + grp_code
(1,892 real changes made, 1,057 to missing)

. keep if state_code == 5 // Drop UP data
(1,057 observations deleted)

. sum uniquegrp

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
   uniquegrp |      1,063       68255    10828.48      50001      87004

. tab uniquegrp

  uniquegrp |      Freq.     Percent        Cum.
------------+-----------------------------------
      50001 |         11        1.03        1.03
      50002 |          7        0.66        1.69
      50005 |         13        1.22        2.92
      50007 |         11        1.03        3.95
      51003 |          7        0.66        4.61
      51005 |          6        0.56        5.17
      51006 |          5        0.47        5.64
      51007 |         16        1.51        7.15
      51009 |          7        0.66        7.81
      52000 |         20        1.88        9.69
      53002 |         20        1.88       11.57
      54001 |         15        1.41       12.98
      54005 |          4        0.38       13.36
      55000 |         12        1.13       14.49
      55002 |         17        1.60       16.09
      56000 |          8        0.75       16.84
      56001 |          6        0.56       17.40
      56005 |         16        1.51       18.91
      57006 |         10        0.94       19.85
      57007 |         10        0.94       20.79
      58001 |         20        1.88       22.67
      59007 |         31        2.92       25.59
      60000 |         12        1.13       26.72
      60001 |          6        0.56       27.28
      60002 |         10        0.94       28.22
      61001 |         24        2.26       30.48
      61005 |          4        0.38       30.86
      61006 |          8        0.75       31.61
      61007 |          4        0.38       31.98
      62002 |          8        0.75       32.74
      62004 |          5        0.47       33.21
      62005 |          7        0.66       33.87
      63000 |         10        0.94       34.81
      63001 |          8        0.75       35.56
      64000 |         27        2.54       38.10
      64001 |         13        1.22       39.32
      65000 |         24        2.26       41.58
      66000 |         12        1.13       42.71
      66001 |         18        1.69       44.40
      67000 |          4        0.38       44.78
      67002 |          8        0.75       45.53
      67006 |          4        0.38       45.91
      67007 |          4        0.38       46.28
      68005 |          7        0.66       46.94
      68007 |          6        0.56       47.51
      68008 |         11        1.03       48.54
      68014 |          4        0.38       48.92
      68015 |          5        0.47       49.39
      68017 |          7        0.66       50.05
      69001 |         14        1.32       51.36
      69002 |          6        0.56       51.93
      69003 |         10        0.94       52.87
      70007 |          4        0.38       53.25
      70008 |         16        1.51       54.75
      70010 |          5        0.47       55.22
      70011 |          4        0.38       55.60
      71001 |         21        1.98       57.57
      71002 |         20        1.88       59.45
      72000 |         21        1.98       61.43
      72001 |          9        0.85       62.28
      73001 |         13        1.22       63.50
      73002 |          4        0.38       63.88
      73006 |          7        0.66       64.53
      73008 |          6        0.56       65.10
      74001 |         20        1.88       66.98
      75000 |         16        1.51       68.49
      76000 |         15        1.41       69.90
      76001 |         15        1.41       71.31
      77001 |         12        1.13       72.44
      77004 |         14        1.32       73.75
      77005 |          4        0.38       74.13
      78000 |         12        1.13       75.26
      78001 |         10        0.94       76.20
      78002 |          8        0.75       76.95
      78003 |         10        0.94       77.89
      79001 |         10        0.94       78.83
      79002 |         10        0.94       79.77
      80002 |         14        1.32       81.09
      80003 |         20        1.88       82.97
      80005 |         11        1.03       84.01
      81000 |          7        0.66       84.67
      81001 |         13        1.22       85.89
      81002 |         10        0.94       86.83
      81009 |          6        0.56       87.39
      82001 |          8        0.75       88.15
      82002 |          6        0.56       88.71
      82005 |          6        0.56       89.28
      83003 |          4        0.38       89.65
      83006 |         19        1.79       91.44
      83008 |          7        0.66       92.10
      84006 |         20        1.88       93.98
      85002 |         14        1.32       95.30
      86000 |         16        1.51       96.80
      86001 |          4        0.38       97.18
      87000 |         12        1.13       98.31
      87001 |         12        1.13       99.44
      87004 |          6        0.56      100.00
------------+-----------------------------------
      Total |      1,063      100.00

. unique uniquegrp // 97 unique toks, 1,063 households
Number of unique values of uniquegrp is  97
Number of records is  1063

. 
. * Adding district, block, and code information
. gen districtcode = 0

. replace districtcode = 8 if (gp_code >= 50 & gp_code <= 56) | (gp_code >= 69 & gp_code <= 82)
(618 real changes made)

. replace districtcode = 11 if (gp_code >= 57 & gp_code <= 68) | (gp_code >= 83 & gp_code <= 87)
(445 real changes made)

. 
. gen districtname = "Bageshwar" if districtcode == 8
(445 missing values generated)

. replace districtname = "Nainital" if districtcode == 11
(445 real changes made)

. 
. gen blockcode = 0

. replace blockcode = 72 if gp_code==79|gp_code==80|gp_code==81|gp_code==82
(121 real changes made)

. replace blockcode = 73 if gp_code==76|gp_code==77|gp_code==78
(100 real changes made)

. replace blockcode = 74 if gp_code==50|gp_code==51|gp_code==52|gp_code==53|gp_code==54|gp_code==55|gp_code==56|gp_code==69|gp_code==70|gp_code==7
> 1|gp_code==72|gp_code==73|gp_code==74|gp_code==75
(397 real changes made)

. replace blockcode = 75 if gp_code==57|gp_code==83
(50 real changes made)

. replace blockcode = 76 if gp_code==62|gp_code==63|gp_code==64|gp_code==65|gp_code==66|gp_code==67|gp_code==68
(192 real changes made)

. replace blockcode = 78 if gp_code==58|gp_code==59|gp_code==60|gp_code==84|gp_code==85|gp_code==86
(133 real changes made)

. replace blockcode = 79 if gp_code ==61|gp_code==87
(70 real changes made)

. 
. gen blockname = "Kapkot" if blockcode==72
(942 missing values generated)

. replace blockname = "Garud" if blockcode==73
(100 real changes made)

. replace blockname = "Bageshwar" if blockcode==74
variable blockname was str6 now str9
(397 real changes made)

. replace blockname = "Betalghat" if blockcode==75
(50 real changes made)

. replace blockname = "Ramgarh" if blockcode==76
(192 real changes made)

. replace blockname = "Bhimtal" if blockcode==78
(133 real changes made)

. replace blockname = "Dhari" if blockcode==79
(70 real changes made)

. 
. * Total estimated expenditure
. clonevar monthly_expenditure = g14_23
(3 missing values generated)

. replace monthly_expenditure = . if (monthly_expenditure < 0 | monthly_expenditure == 0 | monthly_expenditure == 9) & !mi(monthly_expenditure)
(30 real changes made, 30 to missing)

. lab var monthly_expenditure "Total estimated monthly expenditure (INR)"

. 
. * Tok names
. merge m:1 uniquegrp using "${data}r0_baseline_toknames.dta", keepusing(scname uniquegrp sccode hillock plain transfac pavedroads edufac healthfa
> c bankfac drwatfac pipewat publat awc crematground garbdump) gen(_merge_tokname)

    Result                           # of obs.
    -----------------------------------------
    not matched                         1,033
        from master                         7  (_merge_tokname==1)
        from using                      1,026  (_merge_tokname==2)

    matched                             1,056  (_merge_tokname==3)
    -----------------------------------------

. drop if _merge_tokname == 2
(1,026 observations deleted)

. 
. * Baseline fuel weighing
. merge 1:1 hh_id using "${data}r0_baseline_fuelweighing.dta", keepusing(used_*)

    Result                           # of obs.
    -----------------------------------------
    not matched                         1,377
        from master                       603  (_merge==1)
        from using                        774  (_merge==2)

    matched                               460  (_merge==3)
    -----------------------------------------

. drop if _merge == 2
(774 observations deleted)

. drop _merge

. ren used_firewood fuelwood_used_weight

. 
. * Generate surveyround variable
. gen surveyround = 0

. label var surveyround "survey round; 0 = baseline, 1 = follow-up 1, 2 = follow-up 2"

. 
. * Order and rename variables
. 
. keep hh_id surveyround IDcompleted state_code districtcode districtname gp_code village blockcode blockname gpsubcl_code uniquegrp chirag_strata
>  ///
>         hh_member_* age_year_* age_month_* age_day_* household_head_* sex_* cooks_* primary_cook_* education_years_* monthly_expenditure ///
>         school_indicator_* cough_or_cold_* below_pov_line stove_own_* number_stove_own_* stove_used_* stove_use_hours_* stove_use_minutes_* ///
>         fuel_use_* fuelwood_used_weight fuelwood_used_weight_reported fuel_collection_minutes* fuel_expenditure_* heard_stove_* heard_fuel_* smo
> ke_safety_* ///
>         save_possible credit relative_wealth electricity_hours scheduled_caste scheduled_tribe

. 
. keep hh_id surveyround IDcompleted state_code districtcode districtname gp_code village blockcode blockname gpsubcl_code uniquegrp chirag_strata
>  ///
>         hh_member_* age_year_* age_month_* age_day_* household_head_* sex_* cooks_* primary_cook_* education_years_* monthly_expenditure ///
>         school_indicator_* cough_or_cold_* below_pov_line stove_own_* number_stove_own_* stove_used_* stove_use_hours_* stove_use_minutes_* ///
>         fuel_use_* fuelwood_used_weight fuelwood_used_weight_reported fuel_collection_minutes* fuel_expenditure_* heard_stove_* heard_fuel_* smo
> ke_safety_* ///
>         save_possible credit relative_wealth electricity_hours scheduled_caste scheduled_tribe

. 
. foreach var of varlist stove_own* number_stove_own* stove_used_* stove_use_* heard_stove* heard_fuel* {
  2.         ren `var' BL_`var'
  3.         }

.         
. * SAVE: BASELINE ****************************************************************
. 
. save "${output}r0_baseline_cleaned.dta", replace
file C:\Users\faraz\Box Sync\Home Folder fu8\Research-Box\Marc, Faraz\microinstitutions\Analyses\Main folder\output/r0_baseline_cleaned.dta saved

. 
end of do-file

. 
. // Clean follow-up 1 (Round 1)
. do "${code}clean_r1_followup.do"

. * CLEANING AND VARIABLE CREATION: FIRST FOLLOW-UP DATA
. 
. *********************************************************************************
. 
. * FIRST FOLLOW-UP
. 
. use "${data}/r1_followup_raw.dta", clear

. 
. * Rename
. ren questionnaire hh_id

. ren a14a gpname

. ren a14_b__gp_code gp_code

. ren a14_d__tok_name tokname

. ren a14_c__tok_code grp_code

. ren a_15 headhhname

. order hh_id gpname-headhhname, first

. ren a61 IDvisit1

. lab var IDvisit1 "Enumerator ID for Visit 1"

. ren a62 IDvisit2

. lab var IDvisit2 "Enumerator ID for Visit 2"

. ren a63 IDvisit3

. lab var IDvisit3 "Enumerator ID for Visit 3"

. ren person_id IDcompleted

. lab var IDcompleted "Enumerator ID at completed visit"

. ren person_ie IDsupervisor

. lab var IDsupervisor "Supervisor ID"

. order ID*, a(headhhname)

. 
. drop if hh_id == 1852 & gpname == "Lili" // Duplicate
(1 observation deleted)

. 
. * Address households missing/not surveyed in first follow-up
. gen hhmissing = .
(1,051 missing values generated)

. foreach i of num 1 2 5 7 9 11 12 {
  2. 
.         replace hhmissing = a7_1 if a7_1 == `i'
  3.         replace hhmissing = a7_2 if a7_2 == `i'
  4.         replace hhmissing = a7_3 if a7_3 == `i'
  5. 
.         }
(947 real changes made)
(30 real changes made)
(8 real changes made)
(10 real changes made)
(1 real change made)
(0 real changes made)
(37 real changes made)
(0 real changes made)
(0 real changes made)
(6 real changes made)
(0 real changes made)
(0 real changes made)
(27 real changes made)
(3 real changes made)
(0 real changes made)
(3 real changes made)
(1 real change made)
(0 real changes made)
(1 real change made)
(0 real changes made)
(0 real changes made)

. replace hhmissing = a7_1 if a7_1 == 1
(1 real change made)

. replace hhmissing = a7_2 if a7_2 == 1
(14 real changes made)

. replace hhmissing = a7_3 if a7_3 == 1
(8 real changes made)

. replace hhmissing = 2 if hh_id == 1373 | hh_id == 1556
(2 real changes made)

. replace hhmissing = 1 if hh_id == 1395 | hh_id == 1449 | hh_id == 1372 | hh_id == 1381
(4 real changes made)

. label val hhmissing A7_1

. lab var hhmissing "Whether household was surveyed, refused, missing, etc."

. gen lostin2013 = 0

. replace lostin2013 = 1 if hhmissing != 1
(62 real changes made)

. replace lostin2013 = 1 if hh_id == 1372
(1 real change made)

. replace lostin2013 = 1 if hh_id == 1381 
(1 real change made)

. lab var lostin2013 "Household was lost to study in 2013, but had been previously interviewed" 

. 
. * Fix GP codes
. replace gp_code = "80" if gp_code == "3" & hh_id == 1913  
(1 real change made)

. destring gp_code, replace
gp_code: all characters numeric; replaced as byte
(30 missing values generated)

. replace grp_code = "1" if grp_code == "Mansa" & hh_id == 1405
(1 real change made)

. replace grp_code="0" if grp_code == "Naul" & hh_id == 1353
(1 real change made)

. destring grp_code, replace
grp_code: all characters numeric; replaced as byte
(2 missing values generated)

. 
. * Correct inconsistencies with GP codes (relative to baseline data)
. replace gp_code = 77 if hh_id == 1590 & grp_code == 4
(1 real change made)

. replace gp_code = 77 if hh_id == 1591 & grp_code == 4
(1 real change made)

. replace gp_code = 77 if hh_id == 1592 & grp_code == 4
(1 real change made)

. replace gp_code = 77 if hh_id == 1593 & grp_code == 4
(1 real change made)

. replace gp_code = 77 if hh_id == 1594 & grp_code == 1
(1 real change made)

. replace gp_code = 77 if hh_id == 1595 & grp_code == 4
(1 real change made)

. replace gp_code = 77 if hh_id == 1596 & grp_code == 4
(1 real change made)

. replace gp_code = 77 if hh_id == 1597 & grp_code == 5
(1 real change made)

. replace gp_code = 77 if hh_id == 1598 & grp_code == 5
(1 real change made)

. replace gp_code = 77 if hh_id == 1600 & grp_code == 4
(1 real change made)

. replace gp_code = 77 if hh_id == 1601 & grp_code == 4
(1 real change made)

. replace gp_code = 77 if hh_id == 1602 & grp_code == 5
(1 real change made)

. replace gp_code = 77 if hh_id == 1603 & grp_code == 4
(1 real change made)

. replace gp_code = 77 if hh_id == 1604 & grp_code == 4
(1 real change made)

. replace gp_code = 77 if hh_id == 1605 & grp_code == 1
(1 real change made)

. replace gp_code = 77 if hh_id == 1606 & grp_code == 4
(1 real change made)

. replace gp_code = 77 if hh_id == 1607 & grp_code == 5
(1 real change made)

. replace gp_code = 77 if hh_id == 1608 & grp_code == 4
(1 real change made)

. replace gp_code = 77 if hh_id == 1609 & grp_code == 4
(1 real change made)

. replace gp_code = 77 if hh_id == 1610 & grp_code == 1
(1 real change made)

. replace gp_code = 77 if hh_id == 1611 & grp_code == 1
(1 real change made)

. replace gp_code = 77 if hh_id == 1612 & grp_code == 1
(1 real change made)

. replace gp_code = 77 if hh_id == 1615 & grp_code == 1
(1 real change made)

. replace gp_code = 77 if hh_id == 1616 & grp_code == 1
(1 real change made)

. replace gp_code = 77 if hh_id == 1620 & grp_code == 1
(1 real change made)

. replace gp_code = 77 if hh_id == 1621 & grp_code == 1
(1 real change made)

. replace gp_code = 77 if hh_id == 1625 & grp_code == 1
(1 real change made)

. replace gp_code = 77 if hh_id == 1626 & grp_code == 1
(1 real change made)

. replace gp_code = 77 if hh_id == 1627 & grp_code == 1
(1 real change made)

. replace gp_code = 77 if hh_id == 1599 & grp_code == 4
(1 real change made)

. replace gp_code = 84 if hh_id == 1259 & grp_code == 6
(1 real change made)

. replace gp_code = 54 if hh_id == 1500 & grp_code == 5
(1 real change made)

. replace grp_code = 3 if hh_id == 1695 & gp_code == 51
(1 real change made)

. replace grp_code = 1 if hh_id == 1848 & gp_code == 71
(1 real change made)

. replace grp_code = 0 if hh_id == 2045 & gp_code == 56
(1 real change made)

. 
. * General cleaning and variable creation
. 
. local household_members "01 02 03 04 05 06 07 08 09 10 11 12 13 14 15"

. 
. foreach i in `household_members' {
  2. 
.         * Household members (for household size)
.         clonevar hh_member_`i' = c2_`i' 
  3.         replace hh_member_`i' = trim(hh_member_`i')
  4.         tostring hh_member_`i', replace
  5.         
.         * Age of household members (for number of children under five and age of household head)
.         clonevar age_year_`i' = c5_yr_`i'
  6.         clonevar age_month_`i' = c5_mm_`i'
  7.         clonevar age_day_`i' = c5_dd_`i'
  8.         
.         * Household-head indicator
.         gen household_head_`i' = 0
  9.         replace household_head_`i' = c6_`i' if c6_`i' == 1
 10.         
.         * Sex of household members (for female head of household)
.         clonevar sex_`i' = c4_`i'
 11.         
.         * Primary-cook indicator
.         clonevar cooks_`i' = c8_`i'
 12.         destring cooks_`i', replace
 13.         replace cooks_`i' = 2 if cooks_`i' > 2 & !mi(cooks_`i')
 14.         gen primary_cook_`i' = 0
 15.         replace primary_cook_`i' = 1 if cooks_`i' == 1
 16.                 
.         * Years of education and in/attended school indicator
.         clonevar education_years_`i' =  c12_`i'
 17.         clonevar school_indicator_`i' = c11_`i'
 18.         
.         * Cough-cold indicator
.         clonevar cough_or_cold_`i' = d2_`i'
 19.         }
(1 missing value generated)
(0 real changes made)
hh_member_01 already string; no replace
(4 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(1,022 real changes made)
(1 missing value generated)
(713 missing values generated)
cooks_01: all characters numeric; replaced as byte
(713 missing values generated)
(2 real changes made)
(114 real changes made)
(163 missing values generated)
(101 missing values generated)
(99 missing values generated)
(35 missing values generated)
(0 real changes made)
hh_member_02 already string; no replace
(39 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(81 real changes made)
(36 missing values generated)
(290 missing values generated)
cooks_02: all characters numeric; replaced as byte
(290 missing values generated)
(1 real change made)
(618 real changes made)
(229 missing values generated)
(127 missing values generated)
(120 missing values generated)
(126 missing values generated)
(0 real changes made)
hh_member_03 already string; no replace
(128 missing values generated)
(1,050 missing values generated)
(1,051 missing values generated)
(6 real changes made)
(126 missing values generated)
(771 missing values generated)
cooks_03: all characters numeric; replaced as byte
(771 missing values generated)
(3 real changes made)
(130 real changes made)
(234 missing values generated)
(233 missing values generated)
(219 missing values generated)
(253 missing values generated)
(0 real changes made)
hh_member_04 already string; no replace
(256 missing values generated)
(1,045 missing values generated)
(1,050 missing values generated)
(0 real changes made)
(255 missing values generated)
(812 missing values generated)
cooks_04: all characters numeric; replaced as byte
(812 missing values generated)
(2 real changes made)
(91 real changes made)
(348 missing values generated)
(345 missing values generated)
(328 missing values generated)
(448 missing values generated)
(0 real changes made)
hh_member_05 already string; no replace
(454 missing values generated)
(1,042 missing values generated)
(1,051 missing values generated)
(1 real change made)
(451 missing values generated)
(999 missing values generated)
cooks_05: all characters numeric; replaced as byte
(999 missing values generated)
(0 real changes made)
(10 real changes made)
(519 missing values generated)
(526 missing values generated)
(493 missing values generated)
(672 missing values generated)
(0 real changes made)
hh_member_06 already string; no replace
(673 missing values generated)
(1,042 missing values generated)
(1,051 missing values generated)
(0 real changes made)
(674 missing values generated)
(1,025 missing values generated)
cooks_06: all characters numeric; replaced as byte
(1025 missing values generated)
(0 real changes made)
(4 real changes made)
(727 missing values generated)
(717 missing values generated)
(697 missing values generated)
(834 missing values generated)
(0 real changes made)
hh_member_07 already string; no replace
(836 missing values generated)
(1,044 missing values generated)
(1,050 missing values generated)
(2 real changes made)
(834 missing values generated)
(1,037 missing values generated)
cooks_07: all characters numeric; replaced as byte
(1037 missing values generated)
(0 real changes made)
(4 real changes made)
(881 missing values generated)
(875 missing values generated)
(856 missing values generated)
(940 missing values generated)
(0 real changes made)
hh_member_08 already string; no replace
(943 missing values generated)
(1,046 missing values generated)
(1,049 missing values generated)
(0 real changes made)
(941 missing values generated)
(1,047 missing values generated)
cooks_08: all characters numeric; replaced as byte
(1047 missing values generated)
(0 real changes made)
(2 real changes made)
(971 missing values generated)
(960 missing values generated)
(952 missing values generated)
(999 missing values generated)
(0 real changes made)
hh_member_09 already string; no replace
(1,000 missing values generated)
(1,049 missing values generated)
(1,051 missing values generated)
(0 real changes made)
(999 missing values generated)
(1,051 missing values generated)
cooks_09: all characters numeric; replaced as byte
(1051 missing values generated)
(0 real changes made)
(0 real changes made)
(1,015 missing values generated)
(1,009 missing values generated)
(1,006 missing values generated)
(1,021 missing values generated)
(0 real changes made)
hh_member_10 already string; no replace
(1,023 missing values generated)
(1,048 missing values generated)
(1,050 missing values generated)
(0 real changes made)
(1,021 missing values generated)
(1,050 missing values generated)
cooks_10: all characters numeric; replaced as byte
(1050 missing values generated)
(0 real changes made)
(0 real changes made)
(1,032 missing values generated)
(1,028 missing values generated)
(1,026 missing values generated)
(1,034 missing values generated)
(0 real changes made)
hh_member_11 already string; no replace
(1,035 missing values generated)
(1,049 missing values generated)
(1,050 missing values generated)
(0 real changes made)
(1,035 missing values generated)
(1,049 missing values generated)
cooks_11: all characters numeric; replaced as byte
(1049 missing values generated)
(0 real changes made)
(0 real changes made)
(1,039 missing values generated)
(1,038 missing values generated)
(1,038 missing values generated)
(1,040 missing values generated)
(0 real changes made)
hh_member_12 already string; no replace
(1,040 missing values generated)
(1,050 missing values generated)
(1,051 missing values generated)
(0 real changes made)
(1,041 missing values generated)
(1,051 missing values generated)
cooks_12: all characters numeric; replaced as byte
(1051 missing values generated)
(0 real changes made)
(0 real changes made)
(1,044 missing values generated)
(1,041 missing values generated)
(1,041 missing values generated)
(1,045 missing values generated)
(0 real changes made)
hh_member_13 already string; no replace
(1,045 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(0 real changes made)
(1,045 missing values generated)
(1,051 missing values generated)
cooks_13: all characters numeric; replaced as byte
(1051 missing values generated)
(0 real changes made)
(0 real changes made)
(1,047 missing values generated)
(1,046 missing values generated)
(1,045 missing values generated)
(1,049 missing values generated)
(0 real changes made)
hh_member_14 already string; no replace
(1,049 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(0 real changes made)
(1,049 missing values generated)
(1,051 missing values generated)
cooks_14: all characters numeric; replaced as byte
(1051 missing values generated)
(0 real changes made)
(0 real changes made)
(1,049 missing values generated)
(1,049 missing values generated)
(1,049 missing values generated)
(1,050 missing values generated)
(0 real changes made)
hh_member_15 already string; no replace
(1,050 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(0 real changes made)
(1,050 missing values generated)
(1,051 missing values generated)
cooks_15: all characters numeric; replaced as byte
(1051 missing values generated)
(0 real changes made)
(0 real changes made)
(1,050 missing values generated)
(1,050 missing values generated)
(1,050 missing values generated)

. 
. * Below poverty line (BPL) indicator
. gen below_pov_line = 1 if a22c == 1
(513 missing values generated)

. replace below_pov_line = 0 if a22c != 1 & !mi(below_pov_line)
(0 real changes made)

. label var below_pov_line "Household reports they are below poverty line (BPL)"

. 
. * Stove-ownership and stove-use variables
. foreach i in 1 2 2bn 6 8 9an_1 9an_2 9bn {
  2.         ren e`i'_11 e`i'_12
  3.         ren e`i'_10 e`i'_11bn
  4.         ren e`i'_09 e`i'_11an
  5.         ren e`i'_08 e`i'_09
  6.         ren e`i'_07 e`i'_08
  7.         ren e`i'_06 e`i'_07bn
  8.         ren e`i'_05 e`i'_07an
  9.         ren e`i'_04 e`i'_06
 10.         ren e`i'_03 e`i'_04
 11.         ren e`i'_02 e`i'_03
 12.  }

. replace e1_07an = 1 if e1_07an == 7
(1 real change made)

. label var e1_12 "=1 if hh owns other stove"

. label var e1_11bn "=1 if hh owns other ICS"

. label var e1_11an "=1 if hh owns greenway"

. label var e1_09 "=1 if hh owns sagarh"

. label var e1_08 "=1 if hh owns biogas stove"

. label var e1_07bn "=1 if hh owns g-coil stove"

. label var e1_07an "=1 if hh owns electric stove"

. label var e1_06 "=1 if hh owns LPG stove"

. label var e1_04 "=1 if hh owns kerosene stove"

. label var e1_03 "=1 if hh owns three stone fire stove"

. label var e1_01 "=1 if hh owns mitti ka chulha/anjeti stove"

. foreach i in 01 03 04 06 07an 07bn 08 09 11an 11bn 12 {
  2.         clonevar stove_own_`i' = e1_`i'
  3.         clonevar number_stove_own_`i' = e2_`i'
  4.         clonevar stove_used_`i' = e6_`i'
  5.         clonevar stove_use_hours_`i' = e9an_1_`i'
  6.         clonevar stove_use_minutes_`i' = e9an_2_`i'
  7.         }
(75 missing values generated)
(601 missing values generated)
(601 missing values generated)
(598 missing values generated)
(786 missing values generated)
(76 missing values generated)
(594 missing values generated)
(594 missing values generated)
(597 missing values generated)
(730 missing values generated)
(78 missing values generated)
(1,045 missing values generated)
(1,044 missing values generated)
(1,046 missing values generated)
(1,047 missing values generated)
(75 missing values generated)
(696 missing values generated)
(696 missing values generated)
(716 missing values generated)
(850 missing values generated)
(79 missing values generated)
(1,049 missing values generated)
(1,046 missing values generated)
(1,046 missing values generated)
(1,050 missing values generated)
(77 missing values generated)
(815 missing values generated)
(813 missing values generated)
(896 missing values generated)
(889 missing values generated)
(80 missing values generated)
(1,044 missing values generated)
(1,043 missing values generated)
(1,044 missing values generated)
(1,047 missing values generated)
(76 missing values generated)
(960 missing values generated)
(959 missing values generated)
(962 missing values generated)
(995 missing values generated)
(78 missing values generated)
(952 missing values generated)
(951 missing values generated)
(967 missing values generated)
(1,001 missing values generated)
(79 missing values generated)
(1,047 missing values generated)
(1,045 missing values generated)
(1,048 missing values generated)
(1,049 missing values generated)
(80 missing values generated)
(1,049 missing values generated)
(1,047 missing values generated)
(1,050 missing values generated)
(1,051 missing values generated)

. foreach var of varlist stove_used_* {
  2.         replace `var' = 1 if `var' > 1 & !mi(`var')
  3. }
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)

. 
. * Fuel-use indicator, fuel-use regularity, fuel-collection time, and fuel-expenditure variables
. lab var e18_01 "Use fuel: fuelwood"

. lab var e18_02 "Use fuel: crop residue"

. lab var e18_03 "Use fuel: leaves"

. lab var e18_04 "Use fuel: dung"

. lab var e18_05 "Use fuel: biomas pellets"

. lab var e18_06 "Use fuel: kerosene"

. lab var e18_07 "Use fuel: LPG"

. lab var e18_08 "Use fuel: electricity"

. lab var e18_09 "Use fuel: biogas"

. lab var e18_10 "Use fuel: other"

. foreach i in 01 02 03 04 05 06 07 08 09 10 {
  2. 
.         * Fuel use
.         clonevar fuel_use_`i' = e18_`i'
  3.         clonevar fuel_use_regularity_`i' = e20_`i'
  4.         
.         * Fuel collection time
.         clonevar fuel_collection_time_`i' = e24n_1_`i'  
  5.         clonevar fuel_collection_units_`i' = e24n_2_`i'
  6.         
.         * Fuel expenditure
.         clonevar fuel_expenditure_`i' = e21n_1_`i'
  7.         clonevar fuel_expenditure_units_`i' = e21n_2_`i'
  8.         
.         }
(66 missing values generated)
(90 missing values generated)
(90 missing values generated)
(1,051 missing values generated)
(155 missing values generated)
(1,051 missing values generated)
(89 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(90 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(89 missing values generated)
(1,041 missing values generated)
(1,041 missing values generated)
(1,051 missing values generated)
(1,042 missing values generated)
(1,051 missing values generated)
(90 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(90 missing values generated)
(1,042 missing values generated)
(1,043 missing values generated)
(1,051 missing values generated)
(1,042 missing values generated)
(1,051 missing values generated)
(80 missing values generated)
(716 missing values generated)
(717 missing values generated)
(1,051 missing values generated)
(697 missing values generated)
(1,051 missing values generated)
(93 missing values generated)
(866 missing values generated)
(1,050 missing values generated)
(1,051 missing values generated)
(874 missing values generated)
(1,051 missing values generated)
(93 missing values generated)
(1,045 missing values generated)
(1,044 missing values generated)
(1,051 missing values generated)
(1,044 missing values generated)
(1,051 missing values generated)
(97 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)
(1,051 missing values generated)

. * Specifying fuel-collection time in units per the follow-up survey instrument
. forval i = 1/10 {       
  2.         if `i' < 10 {   
  3.                 gen fuel_collection_minutes_0`i' = .
  4.                 if (`i' <= 5) | (`i' > 7) {
  5.                         replace fuel_collection_minutes_0`i' = (fuel_collection_time_0`i' / 7) * 60 // Hours per week converted to minutes pe
> r day
  6.                         }               
  7.                 else if (`i' == 6) | (`i' == 7) {
  8.                         replace fuel_collection_minutes_0`i' = (fuel_collection_time_0`i' / 30) * 60 // Hours per month converted to minutes 
> per day
  9.                         }               
 10.                 }       
 11.         else {  
 12.                 gen fuel_collection_minutes_`i' = .
 13.                 replace fuel_collection_minutes_`i' = (fuel_collection_time_`i' / 7) * 60 // Hours per week converted to minutes per day     
>            
 14.                 }
 15.         }
(1,051 missing values generated)
(961 real changes made)
(1,051 missing values generated)
(0 real changes made)
(1,051 missing values generated)
(0 real changes made)
(1,051 missing values generated)
(10 real changes made)
(1,051 missing values generated)
(0 real changes made)
(1,051 missing values generated)
(8 real changes made)
(1,051 missing values generated)
(334 real changes made)
(1,051 missing values generated)
(1 real change made)
(1,051 missing values generated)
(7 real changes made)
(1,051 missing values generated)
(0 real changes made)

. * NB: Survey instrument restricts reported units, as specified below.
. foreach i in 01 02 03 04 05 09 {
  2.         replace fuel_collection_units_`i' = 2 if !mi(fuel_collection_time_`i')
  3. }
(961 real changes made)
(0 real changes made)
(0 real changes made)
(10 real changes made)
(0 real changes made)
(7 real changes made)

. foreach i in 06 07 {
  2.         replace fuel_collection_units_`i' = 3 if !mi(fuel_collection_time_`i')
  3.         }
(8 real changes made)
(334 real changes made)

. 
. * Clean stove and fuel awareness
. clonevar heard_stove_lesssmoke = b4
(64 missing values generated)

. clonevar heard_fuel_lesssmoke = b5
(65 missing values generated)

.         
. * Smoke safety perception
. clonevar smoke_safety_perception = b11
(66 missing values generated)

. 
. * Self-reported fuelwood use
. for any 01 02 03 04 05 06 07 08 09 10: gen fueluse_X = e25n_1_X

->  gen fueluse_01 = e25n_1_01
(86 missing values generated)

->  gen fueluse_02 = e25n_1_02
(1,051 missing values generated)

->  gen fueluse_03 = e25n_1_03
(1,050 missing values generated)

->  gen fueluse_04 = e25n_1_04
(1,041 missing values generated)

->  gen fueluse_05 = e25n_1_05
(1,051 missing values generated)

->  gen fueluse_06 = e25n_1_06
(1,042 missing values generated)

->  gen fueluse_07 = e25n_1_07
(695 missing values generated)

->  gen fueluse_08 = e25n_1_08
(908 missing values generated)

->  gen fueluse_09 = e25n_1_09
(1,044 missing values generated)

->  gen fueluse_10 = e25n_1_10
(1,051 missing values generated)

. replace fueluse_01 = fueluse_01 / 7 if e25n_3_01 == 2  // converting weekly to daily 
(137 real changes made)

. replace fueluse_01 = fueluse_01 / 30 if e25n_3_01 == 3 // converting monthly to daily
(54 real changes made)

. label var fueluse_01 "Fuelwood usage per day, kg - self reported"

. ren fueluse_01 fuelwood_used_weight_reported

. 
. * Weighed fuelood use
. tab e25bn_1_01

   E.25b.n. |
       FUEL |
   WEIGHING |
(Please ask |
  household |
   to bring |
  any solid |
    fuel it |
   will use |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |          1        0.10        0.10
          2 |          2        0.21        0.31
          3 |          2        0.21        0.52
          4 |          9        0.94        1.46
          5 |         24        2.51        3.97
          6 |         21        2.19        6.17
          7 |         35        3.66        9.82
          8 |         68        7.11       16.93
          9 |         30        3.13       20.06
         10 |        155       16.20       36.26
         11 |         17        1.78       38.04
         12 |         79        8.25       46.29
         13 |         27        2.82       49.11
         14 |         37        3.87       52.98
         15 |        160       16.72       69.70
         16 |         55        5.75       75.44
         17 |         27        2.82       78.27
         18 |         72        7.52       85.79
         19 |          6        0.63       86.42
         20 |         67        7.00       93.42
         21 |          9        0.94       94.36
         22 |         10        1.04       95.40
         23 |          5        0.52       95.92
         24 |          5        0.52       96.45
         25 |         14        1.46       97.91
         26 |          4        0.42       98.33
         27 |          3        0.31       98.64
         28 |          4        0.42       99.06
         30 |          7        0.73       99.79
         32 |          1        0.10       99.90
         38 |          1        0.10      100.00
------------+-----------------------------------
      Total |        957      100.00

. tab e25bn_2_01

   E.25b.n. |
       FUEL |
   WEIGHING |
(Please ask |
  household |
   to bring |
  any solid |
    fuel it |
   will use |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |        402       42.63       42.63
          1 |        142       15.06       57.69
          2 |        158       16.76       74.44
          3 |         93        9.86       84.31
          4 |         52        5.51       89.82
          5 |         40        4.24       94.06
          6 |         15        1.59       95.65
          7 |         12        1.27       96.92
          8 |          6        0.64       97.56
          9 |          4        0.42       97.99
         10 |          6        0.64       98.62
         11 |          4        0.42       99.05
         12 |          3        0.32       99.36
         13 |          2        0.21       99.58
         15 |          2        0.21       99.79
         19 |          1        0.11       99.89
         20 |          1        0.11      100.00
------------+-----------------------------------
      Total |        943      100.00

. gen used_fwd = e25bn_1_01 - e25bn_2_01
(108 missing values generated)

. * Adjustments for extra
. replace used_fwd = used_fwd * 1.25 if e25cn_01 == 1 // used less than an extra quarter ; 49 changes made
(49 real changes made)

. replace used_fwd = used_fwd * 1.5 if e25cn_01 == 2 // used extra less than half original amount
(35 real changes made)

. replace used_fwd = used_fwd * 1.75 if e25cn_01 == 3  // used extra fuel - more than half original but less 
(15 real changes made)

. replace used_fwd = used_fwd * 2 if e25cn_01 == 4 // used twice original amount
(12 real changes made)

. tab used_fwd

   used_fwd |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |          4        0.42        0.42
          2 |          3        0.32        0.74
          3 |          3        0.32        1.06
        3.5 |          1        0.11        1.17
          4 |         13        1.38        2.55
          5 |         28        2.97        5.51
          6 |         28        2.97        8.48
       6.25 |          1        0.11        8.59
          7 |         39        4.14       12.73
        7.5 |          2        0.21       12.94
          8 |         77        8.17       21.10
       8.75 |          1        0.11       21.21
          9 |         60        6.36       27.57
         10 |         95       10.07       37.65
       10.5 |          6        0.64       38.28
         11 |         53        5.62       43.90
      11.25 |          3        0.32       44.22
         12 |         98       10.39       54.61
      12.25 |          2        0.21       54.83
       12.5 |         11        1.17       55.99
         13 |         55        5.83       61.82
       13.5 |          2        0.21       62.04
      13.75 |          1        0.11       62.14
         14 |         71        7.53       69.67
         15 |         84        8.91       78.58
      15.75 |          2        0.21       78.79
         16 |         56        5.94       84.73
         17 |         30        3.18       87.91
       17.5 |          3        0.32       88.23
         18 |         29        3.08       91.30
      18.75 |          7        0.74       92.05
         19 |         11        1.17       93.21
         20 |         19        2.01       95.23
         21 |          5        0.53       95.76
         22 |          3        0.32       96.08
       22.5 |          4        0.42       96.50
      22.75 |          1        0.11       96.61
         23 |          4        0.42       97.03
      23.75 |          1        0.11       97.14
         24 |          5        0.53       97.67
         25 |          6        0.64       98.30
         26 |          3        0.32       98.62
      26.25 |          3        0.32       98.94
         27 |          1        0.11       99.05
       27.5 |          2        0.21       99.26
         28 |          1        0.11       99.36
         30 |          3        0.32       99.68
         35 |          1        0.11       99.79
         36 |          1        0.11       99.89
         40 |          1        0.11      100.00
------------+-----------------------------------
      Total |        943      100.00

. ren used_fwd fuelwood_used_weight

. label var fuelwood_used_weight "Amount of firewood used during the monitoring period, kgs - WEIGHED"

. 
. * Saving money possible
. gen save_possible = .
(1,051 missing values generated)

. replace save_possible = 0 if g23_1==0|g23_2==0|g23_3==0  
(972 real changes made)

. replace save_possible = 1 if g23_1==1|g23_2==1|g23_3==1  
(278 real changes made)

. tab save_possible

save_possib |
         le |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |        699       71.55       71.55
          1 |        278       28.45      100.00
------------+-----------------------------------
      Total |        977      100.00

. label var save_possible "Possible for household to save money at MFI or other bank, etc"

. replace save_possible = 0 if save_possible == . & lostin != 1 // 10 
(10 real changes made)

. 
. * Credit access behaviour (Took loan in last year)
. gen credit = .
(1,051 missing values generated)

. replace credit = . if g19_1==-9
(0 real changes made)

. replace credit = . if g19_2==-9
(0 real changes made)

. replace credit = . if g19_3==-9
(0 real changes made)

. replace credit = . if g19_4==-9
(0 real changes made)

. replace credit = . if g19_5==-9
(0 real changes made)

. replace credit = . if g19_6==-9
(0 real changes made)

. replace credit = 0 if g19_1 ==0|g19_2==0|g19_3==0|g19_4==0|g19_5==0|g19_6==0
(972 real changes made)

. replace credit = 1 if  g19_1==1|g19_2==1|g19_3==1|g19_4==1|g19_5==1|g19_6==1
(157 real changes made)

. tab credit

     credit |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |        820       83.93       83.93
          1 |        157       16.07      100.00
------------+-----------------------------------
      Total |        977      100.00

. label var credit "Household has taken loan in past year"

. replace credit = 0 if credit == . & lostin2013 != 1
(10 real changes made)

. 
. * Relative wealth perception index
. gen relative_wealth = g12  
(71 missing values generated)

. replace relative_wealth = . if g12<0
(1 real change made, 1 to missing)

. replace relative_wealth = . if g12>6
(0 real changes made)

. label var relative_wealth "Self assessment of relative wealth on 1-6 scale(ladder question)"

. 
. * Hours reported of electricity
. gen electricity_hours = 0 if g10 == 3
(1,045 missing values generated)

. replace electricity_hours = g10_1 if g10 == 2
(725 real changes made)

. replace electricity_hours =24 if g10==1
(226 real changes made)

. replace electricity_hours =24 if electricity_hours > 24 & electricity_hours !=.
(1 real change made)

. label var electricity_hours "Hours households have electricity per day"

. 
. * Merging intervention stove purchase data (from supervisor sheets)
. merge m:1 hh_id using "${data}r1_followup_stovepurchase.dta" , keepusing(BuyGway BuyGcoil BuyGcoilGway) gen(_mergeR)

    Result                           # of obs.
    -----------------------------------------
    not matched                            12
        from master                         0  (_mergeR==1)
        from using                         12  (_mergeR==2)

    matched                             1,051  (_mergeR==3)
    -----------------------------------------

. keep if _mergeR == 3
(12 observations deleted)

. drop _mergeR

. * Fixing errors in intervention stove purchase data
. replace BuyGway=0 if hh_id==1367
(0 real changes made)

. replace BuyGway=0 if hh_id==1478
(0 real changes made)

. replace BuyGway=0 if hh_id ==1481
(0 real changes made)

. replace BuyGway=0 if hh_id==1490
(0 real changes made)

. replace BuyGcoilGway=0 if hh_id==1367
(0 real changes made)

. replace BuyGcoilGway=0 if hh_id==1478
(0 real changes made)

. replace BuyGcoilGway=0 if hh_id==1481
(0 real changes made)

. replace BuyGcoilGway=0 if hh_id==1490
(0 real changes made)

. replace BuyGway = 0 if gp_code == 64 & BuyGway == 1 // Never purchased
(1 real change made)

. replace BuyGway = 1 if hh_id == 1162 // Bought a Gway
(1 real change made)

. replace BuyGcoil = 0 if hh_id == 1162 // Did not buy a Gcoil 
(1 real change made)

. 
. * Reported maintenance issues with intervention stoves
. label var f16n "Reported no problems with greenway"

. label var f16n_b "Reported chopping wood inconvenient with greenway"

. label var f16n_c "Reported handles broken problem with greenway"

. label var f16n_d "Reported discoloration problem with greenway"

. label var f16n_e "Reported hard to light problem with greenway"

. label var f16n_f "Reported smoke problem with greenway"

. label var f16n_g "Reported 'other' problem with greenway"

. // ren f16n gway_prob_none
. // ren f16n_b gway_prob_chopping
. // ren f16n_c gway_prob_handles
. // ren f16n_d gway_prob_discolor
. // ren f16n_e gway_prob_hard_light
. // ren f16n_f gway_prob_smoke
. // ren f16n_g gway_prob_other
. 
. label var f16n_2 "Reported no problems with g coil"

. label var f16n_2b "Reported shocks problem with g coil"

. label var f16n_2c "Reported coil problem with g coil"

. label var f16n_2d "Reported plug or wire problem with g coil"

. label var f16n_2e "Reported knob problem with g coil"

. label var f16n_2f "Reported stove not heating enough with g coil"

. label var f16n_2g "Reported light fluctuation/elec bill with g coil"

. label var f16n_2h "Reported 'other' problem with g coil"

. // ren f16n_2 gcoil_prob_none
. // ren f16n_2b gcoil_prob_shocks
. // ren f16n_2c gcoil_prob_coil
. // ren f16n_2d gcoil_prob_plu_wire
. // ren f16n_2e gcoil_prob_knob
. // ren f16n_2f gcoil_prob_heat
. // ren f16n_2g gcoil_prob_light_bill
. // ren f16n_2h gcoil_prob_other
. 
. * Problems with Greenway
. egen any_problems_greenway = rowmean(f16n_b f16n_c f16n_d f16n_e f16n_f f16n_g)
(944 missing values generated)

. gen problems_greenway = (!mi(any_problems_greenway) & any_problems_greenway != 0)

. 
. * Problems with G-Coil
. egen any_problems_gcoil = rowmean(f16n_2b f16n_2c f16n_2d f16n_2e f16n_2f f16n_2g f16n_2h)
(793 missing values generated)

. gen problems_gcoil = (!mi(any_problems_gcoil) & any_problems_gcoil != 0)

. 
. * Tried to get maintenance for Greenway
. egen any_maintenance_greenway = rowmean(f17n_b f17n_c f17n_d f17n_e f17n_f f17n_g)
(939 missing values generated)

. gen maintenance_greenway = (!mi(any_maintenance_greenway) & any_maintenance_greenway != 0)

. 
. * Tried to get maintenance for G-Coil
. egen any_maintenance_gcoil = rowmean(f17n_2b f17n_2c f17n_2d f17n_2e f17n_2f f17n_2g)
(793 missing values generated)

. gen maintenance_gcoil = (!mi(any_maintenance_gcoil) & any_maintenance_gcoil != 0)

. 
. * Generate state dummy
. gen state_code = 5 // UK

. label define state_code 5 "UK" 9 "UP"

. label values state_code state_code

. 
. * Merge treatment allocation variable
. merge m:1 hh_id using "${data}r1_followup_trmtallocation.dta", keepusing(control3)      
(note: variable hh_id was int, now float to accommodate using data's values)
(label A1 already defined)
(label B11 already defined)
(label E1 already defined)
(label E6 already defined)
(label E8 already defined)
(label E14 already defined)
(label E17 already defined)
(label E18 already defined)
(label E19_1 already defined)
(label E19_2 already defined)
(label E20 already defined)
(label E27 already defined)
(label state_code already defined)

    Result                           # of obs.
    -----------------------------------------
    not matched                            12
        from master                         0  (_merge==1)
        from using                         12  (_merge==2)

    matched                             1,051  (_merge==3)
    -----------------------------------------

. gen treatment = 1 if control3 == 0
(292 missing values generated)

. replace treatment = 0 if control3 == 1
(292 real changes made)

. label var treatment "Household was selected to receive the ICS sales offer intervention"

. drop control3

. 
. * Drop duplicates
. duplicates report hh_id if state_code == 5

Duplicates in terms of hh_id

--------------------------------------
   copies | observations       surplus
----------+---------------------------
        1 |         1051             0
--------------------------------------

. duplicates tag hh_id, g(hh_idDUP) 

Duplicates in terms of hh_id

. drop if hh_id == 1852 & gpname == "Lili"
(0 observations deleted)

. drop hh_idDUP

. 
. * Merging rebate level allocations
. merge m:1 hh_id using "${data}r1_followup_rbtallocation.dta", keepusing(Rebate maxlclass1 maxlclass2 maxlclass3) gen(_mergeReb)

    Result                           # of obs.
    -----------------------------------------
    not matched                            12
        from master                        12  (_mergeReb==1)
        from using                          0  (_mergeReb==2)

    matched                             1,051  (_mergeReb==3)
    -----------------------------------------

. label var Rebate "Assigned rebate level for all UK: 1=25, 2=200, 3=1/3 price"

. drop _mergeReb

. 
. * Merging community-level survey
. merge m:1 gp_code using "${data}r1_followup_commsurvey.dta", keepusing (docdist bus_min bankfac) gen(_mergeM1)

    Result                           # of obs.
    -----------------------------------------
    not matched                            12
        from master                        12  (_mergeM1==1)
        from using                          0  (_mergeM1==2)

    matched                             1,051  (_mergeM1==3)
    -----------------------------------------

. 
. * Final cleaning
. replace tokname = "Mongro" if gp_code == 61 & tokname == "Mogro"
(4 real changes made)

. replace lostin2013 = 1 if hh_id == 1617 | hh_id == 1650 | hh_id == 1853 | hh_id == 1919 | hh_id == 1932 | ///
>         hh_id == 1946 | hh_id == 1992 | hh_id == 2001 | hh_id == 2008 | hh_id == 2009 | hh_id == 2052 | hh_id == 2102
(12 real changes made)

. replace headhhname = "Pari Ram" if hh_id == 1175
(1 real change made)

. 
. * Visited by Chirag
. clonevar chirag_visit = f7n
(344 missing values generated)

. replace chirag_visit = f7n_2 if mi(chirag_visit) & !mi(f7n_2)
(10 real changes made)

. lab var chirag_visit "Did someone from Chirag come to this household to talk about purchasing ICS?"

. 
. * Generate surveyround variable
. gen surveyround = 1

. label var surveyround "survey round; 0 = baseline, 1 = follow-up 1, 2 = follow-up 2"

. 
. * Order and rename variables
. 
. keep hh_id gpname gp_code surveyround IDcompleted treatment lostin2013 hhmissing  ///
>         hh_member_* age_year_* age_month_* age_day_* household_head_* sex_* cooks_* primary_cook_* education_years_* ///
>         school_indicator_* cough_or_cold_* below_pov_line stove_own_* number_stove_own_* stove_used_* stove_use_hours_* stove_use_minutes_* ///
>         fuel_use_* fuelwood_used_weight fuelwood_used_weight_reported fuel_collection_minutes* fuel_expenditure_* problems_* maintenance_* heard
> _stove_* heard_fuel_* smoke_safety_* ///
>         Rebate maxlclass1 maxlclass2 maxlclass3 BuyGway BuyGcoil BuyGcoilGway save_possible credit relative_wealth electricity_hours ///
>         docdist bus_min bankfac chirag_visit

. 
. order hh_id gpname gp_code surveyround IDcompleted treatment lostin2013 hhmissing ///
>         hh_member_* age_year_* age_month_* age_day_* household_head_* sex_* cooks_* primary_cook_* education_years_* ///
>         school_indicator_* cough_or_cold_* below_pov_line stove_own_* number_stove_own_* stove_used_* stove_use_hours_* stove_use_minutes_* ///
>         fuel_use_* fuelwood_used_weight fuelwood_used_weight_reported fuel_collection_minutes* fuel_expenditure_* problems_* maintenance_* heard
> _stove_* heard_fuel_* smoke_safety_* ///
>         Rebate maxlclass1 maxlclass2 maxlclass3 BuyGway BuyGcoil BuyGcoilGway save_possible credit relative_wealth electricity_hours ///
>         docdist bus_min bankfac chirag_visit

. 
. foreach var of varlist stove_own* number_stove_own* stove_used_* stove_use_* heard_stove* heard_fuel* {
  2.         ren `var' R1_`var'
  3.         }

. 
. * SAVE: ROUND 1 ****************************************************************
. 
. save "${output}r1_followup_cleaned.dta", replace
file C:\Users\faraz\Box Sync\Home Folder fu8\Research-Box\Marc, Faraz\microinstitutions\Analyses\Main folder\output/r1_followup_cleaned.dta saved

. 
end of do-file

. 
. // Clean follow-up 2 (Round 2)
. do "${code}clean_r2_followup.do"

. * CLEANING AND VARIABLE CREATION: SECOND FOLLOW-UP DATA
. 
. *********************************************************************************
. 
. use "${data}/r2_followup_raw.dta", clear // load second follow-up

. 
. * Rename
. ren A2 hh_id

. lab var hh_id "household id"

. ren a14a gpname

. lab var gpname "village name"

. ren a14b gp_code

. lab var gp_code "village id"

. ren a14d tokname

. lab var tokname "tok name"

. ren a14c uniquegrp

. lab var uniquegrp "tok code"

. ren a15 headhhname

. lab var headhhname "name of household head"

. order hh_id gpname-headhhname, first

. ren a6 IDvisit1

. lab var IDvisit1 "Enumerator ID"

. ren a92 IDcompleted

. lab var IDcompleted "Enumerator ID at completed visit"

. ren a102 IDsupervisor

. lab var IDsupervisor "Supervisor ID"

. 
. * Renaming "cough/cold in the last two weeks" variable
. ren d2_8 d2_01

. ren d2_2 d2_02

. ren d2_3 d2_03

. ren d2_4 d2_04

. ren d2_5 d2_05

. ren d2_6 d2_06

. ren d1_7 d2_07

. ren QT d2_08

. ren d2_9 d2_09

. ren d2_80 d2_10

. ren d2_81 d2_11

. ren d2_82 d2_12

. ren d2_83 d2_13

. ren d2_84 d2_14

. ren d2_85 d2_15

. 
. * Address households missing/not surveyed in second follow-up
. clonevar hhmissing = a7
(9 missing values generated)

. clonevar a7_1 = a71
(1,054 missing values generated)

. lab var hhmissing "Whether household was surveyed, refused, missing etc"

. replace hhmissing = 5 if a7_1 == "They had left the village"
(5 real changes made)

. replace hhmissing = 1 if hhmissing == . & a91 != ""
(6 real changes made)

. replace hhmissing = 8 if hhmissing == . 
(3 real changes made)

. gen lostin2014 = 0

. replace lostin2014 = 1 if hhmissing != 1
(65 real changes made)

. lab var lostin2014 "Household was lost to study in 2014, but had been previously interviewed" 

. 
. * General cleaning and variable creation
. 
. local household_members "01 02 03 04 05 06 07 08 09 10 11 12 13 14 15"

. 
. foreach i in `household_members' {
  2. 
.         * Household members (for household size)
.         clonevar hh_member_`i' = c2_`i' 
  3.         replace hh_member_`i' = trim(hh_member_`i')
  4.         tostring hh_member_`i', replace
  5.         
.         * Age of household members (for number of children under five and age of household head)
.         clonevar age_year_`i' = c51_`i'
  6.         clonevar age_month_`i' = c52_`i'
  7.         clonevar age_day_`i' = c53_`i'
  8.         
.         * Household-head indicator
.         gen household_head_`i' = 0
  9.         replace household_head_`i' = c61_`i' if c61_`i' == 1
 10.         
.         * Sex of household members (for female head of household)
.         clonevar sex_`i' = c4_`i'
 11.         
.         * Primary-cook indicator
.         clonevar cooks_`i' = c8_`i'
 12.         capture replace cooks_`i' = "1" if cooks_`i' == "1,2"
 13.         destring cooks_`i', replace
 14.         replace cooks_`i' = 2 if cooks_`i' > 2 & !mi(cooks_`i')
 15.         gen primary_cook_`i' = 0
 16.         replace primary_cook_`i' = 1 if cooks_`i' == 1
 17.                 
.         * Cough-cold indicator
.         clonevar cough_or_cold_`i' = d2_`i'
 18.         capture replace cough_or_cold_`i' = "-9" if cough_or_cold_`i' == "(-9)"
 19.         capture replace cough_or_cold_`i' = "1" if cough_or_cold_`i' == "0,1"
 20.         destring cough_or_cold_`i', replace
 21.         }
(1 missing value generated)
(26 real changes made)
hh_member_01 already string; no replace
(115 missing values generated)
(1,062 missing values generated)
(1,062 missing values generated)
(1,031 real changes made)
(1 missing value generated)
(671 missing values generated)
cooks_01 already numeric; no replace
(2 real changes made)
(121 real changes made)
(136 missing values generated)
cough_or_cold_01 already numeric; no replace
(24 missing values generated)
(12 real changes made)
hh_member_02 already string; no replace
(120 missing values generated)
(1,059 missing values generated)
(1,060 missing values generated)
(89 real changes made)
(24 missing values generated)
(272 missing values generated)
cooks_02: all characters numeric; replaced as byte
(272 missing values generated)
(1 real change made)
(627 real changes made)
(146 missing values generated)
cough_or_cold_02 already numeric; no replace
(96 missing values generated)
(13 real changes made)
hh_member_03 already string; no replace
(208 missing values generated)
(1,053 missing values generated)
(1,060 missing values generated)
(7 real changes made)
(96 missing values generated)
(752 missing values generated)
cooks_03 already numeric; no replace
(4 real changes made)
(142 real changes made)
(247 missing values generated)
cough_or_cold_03: all characters numeric; replaced as byte
(247 missing values generated)
(198 missing values generated)
(6 real changes made)
hh_member_04 already string; no replace
(282 missing values generated)
(1,028 missing values generated)
(1,056 missing values generated)
(0 real changes made)
(198 missing values generated)
(803 missing values generated)
cooks_04: all characters numeric; replaced as byte
(803 missing values generated)
(2 real changes made)
(103 real changes made)
(305 missing values generated)
cough_or_cold_04: all characters numeric; replaced as byte
(305 missing values generated)
(372 missing values generated)
(5 real changes made)
hh_member_05 already string; no replace
(436 missing values generated)
(1,009 missing values generated)
(1,048 missing values generated)
(4 real changes made)
(372 missing values generated)
(998 missing values generated)
cooks_05 already numeric; no replace
(0 real changes made)
(18 real changes made)
(460 missing values generated)
cough_or_cold_05: all characters numeric; replaced as byte
(460 missing values generated)
(618 missing values generated)
(2 real changes made)
hh_member_06 already string; no replace
(661 missing values generated)
(1,011 missing values generated)
(1,054 missing values generated)
(1 real change made)
(618 missing values generated)
(1,024 missing values generated)
cooks_06 already numeric; no replace
(1 real change made)
(8 real changes made)
(674 missing values generated)
cough_or_cold_06: all characters numeric; replaced as byte
(674 missing values generated)
(808 missing values generated)
(0 real changes made)
hh_member_07 already string; no replace
(827 missing values generated)
(1,026 missing values generated)
(1,059 missing values generated)
(2 real changes made)
(815 missing values generated)
(1,042 missing values generated)
cooks_07 already numeric; no replace
(0 real changes made)
(6 real changes made)
(836 missing values generated)
cough_or_cold_07 already numeric; no replace
(923 missing values generated)
(0 real changes made)
hh_member_08 already string; no replace
(939 missing values generated)
(1,045 missing values generated)
(1,059 missing values generated)
(0 real changes made)
(928 missing values generated)
(1,057 missing values generated)
cooks_08 already numeric; no replace
(0 real changes made)
(3 real changes made)
(944 missing values generated)
cough_or_cold_08 already numeric; no replace
(985 missing values generated)
(0 real changes made)
hh_member_09 already string; no replace
(998 missing values generated)
(1,047 missing values generated)
(1,059 missing values generated)
(0 real changes made)
(990 missing values generated)
(1,058 missing values generated)
cooks_09 already numeric; no replace
(1 real change made)
(1 real change made)
(999 missing values generated)
cough_or_cold_09 already numeric; no replace
(1,018 missing values generated)
(0 real changes made)
hh_member_10 already string; no replace
(1,028 missing values generated)
(1,053 missing values generated)
(1,061 missing values generated)
(0 real changes made)
(1,021 missing values generated)
(1,060 missing values generated)
cooks_10 already numeric; no replace
(0 real changes made)
(0 real changes made)
(1,030 missing values generated)
cough_or_cold_10 already numeric; no replace
(1,039 missing values generated)
(0 real changes made)
hh_member_11 already string; no replace
(1,045 missing values generated)
(1,060 missing values generated)
(1,061 missing values generated)
(0 real changes made)
(1,041 missing values generated)
(1,061 missing values generated)
cooks_11 already numeric; no replace
(0 real changes made)
(0 real changes made)
(1,047 missing values generated)
cough_or_cold_11 already numeric; no replace
(1,043 missing values generated)
(0 real changes made)
hh_member_12 already string; no replace
(1,046 missing values generated)
(1,058 missing values generated)
(1,062 missing values generated)
(0 real changes made)
(1,045 missing values generated)
(1,062 missing values generated)
cooks_12 already numeric; no replace
(0 real changes made)
(0 real changes made)
(1,048 missing values generated)
cough_or_cold_12 already numeric; no replace
(1,051 missing values generated)
(0 real changes made)
hh_member_13 already string; no replace
(1,052 missing values generated)
(1,059 missing values generated)
(1,062 missing values generated)
(0 real changes made)
(1,052 missing values generated)
(1,062 missing values generated)
cooks_13 already numeric; no replace
(0 real changes made)
(0 real changes made)
(1,053 missing values generated)
cough_or_cold_13 already numeric; no replace
(1,055 missing values generated)
(0 real changes made)
hh_member_14 already string; no replace
(1,056 missing values generated)
(1,059 missing values generated)
(1,062 missing values generated)
(0 real changes made)
(1,056 missing values generated)
(1,061 missing values generated)
cooks_14 already numeric; no replace
(0 real changes made)
(1 real change made)
(1,056 missing values generated)
cough_or_cold_14 already numeric; no replace
(1,060 missing values generated)
(0 real changes made)
hh_member_15 already string; no replace
(1,060 missing values generated)
(1,061 missing values generated)
(1,062 missing values generated)
(0 real changes made)
(1,060 missing values generated)
(1,062 missing values generated)
cooks_15 already numeric; no replace
(0 real changes made)
(0 real changes made)
(1,062 missing values generated)
cough_or_cold_15 already numeric; no replace

. 
. * Stove-ownership and stove-use variables
. ren e9an1_81an e9an1_11an 

. ren e9an1_81bn e9an1_11bn 

. ren e9an1_82 e9an1_12

. ren e9an2_81an e9an2_11an 

. ren e9an2_81bn e9an2_11bn 

. ren e9an2_82 e9an2_12

. label var e1_01 "=1 if hh owns mitti ka chulha"

. label var e1_01an2 "=1 if hh owns anjeti stove"

. label var e1_03 "=1 if hh owns three stone fire stove"

. label var e1_04 "=1 if hh owns kerosene stove"

. label var e1_04bn2 "=1 if hh owns kerosene heater"

. label var e1_06 "=1 if hh owns LPG stove"

. label var e1_07an2 "=1 if hh owns electric stove, can hold vessels"

. label var e1_07bn "=1 if hh owns g-coil stove"

. label var e1_07cn2 "=1 if hh owns electric coil heater, no vessels"

. label var e1_07dn2 "=1 if hh owns electric halogen heater"

. label var e1_07en2 "=1 if hh owns electric heater - air blower"

. label var e1_08 "=1 if hh owns biogas stove"

. label var e1_09 "=1 if hh owns sagarh"

. label var e1_11an "=1 if hh owns greenway"

. label var e1_11bn "=1 if hh owns other ICS"

. label var e1_12 "=1 if hh owns other stove"

. foreach i in 01 01an2 03 04 04bn2 06 07an2 07bn 07cn2 07dn2 07en2 08 09 11an 11bn 12 {
  2.         clonevar stove_own_`i' = e1_`i'
  3.         clonevar number_stove_own_`i' = e2_`i'
  4.         clonevar stove_used_`i' = e6_`i'
  5.         clonevar stove_use_hours_`i' = e9an1_`i'
  6.         clonevar stove_use_minutes_`i' = e9an2_`i'
  7.         }
(79 missing values generated)
(481 missing values generated)
(477 missing values generated)
(474 missing values generated)
(468 missing values generated)
(111 missing values generated)
(827 missing values generated)
(843 missing values generated)
(845 missing values generated)
(844 missing values generated)
(112 missing values generated)
(990 missing values generated)
(989 missing values generated)
(995 missing values generated)
(995 missing values generated)
(115 missing values generated)
(1,057 missing values generated)
(1,056 missing values generated)
(1,056 missing values generated)
(1,056 missing values generated)
(117 missing values generated)
(1,062 missing values generated)
(1,061 missing values generated)
(1,062 missing values generated)
(1,062 missing values generated)
(87 missing values generated)
(630 missing values generated)
(639 missing values generated)
(637 missing values generated)
(625 missing values generated)
(114 missing values generated)
(1,057 missing values generated)
(1,057 missing values generated)
(1,058 missing values generated)
(1,058 missing values generated)
(100 missing values generated)
(836 missing values generated)
(847 missing values generated)
(848 missing values generated)
(842 missing values generated)
(114 missing values generated)
(1,059 missing values generated)
(1,059 missing values generated)
(1,059 missing values generated)
(1,059 missing values generated)
(114 missing values generated)
(1,059 missing values generated)
(1,059 missing values generated)
(1,060 missing values generated)
(1,060 missing values generated)
(121 missing values generated)
(1,062 missing values generated)
(1,062 missing values generated)
(1,062 missing values generated)
(1,062 missing values generated)
(115 missing values generated)
(1,052 missing values generated)
(1,054 missing values generated)
(1,053 missing values generated)
(1,053 missing values generated)
(74 missing values generated)
(374 missing values generated)
(374 missing values generated)
(367 missing values generated)
(367 missing values generated)
(117 missing values generated)
(962 missing values generated)
(963 missing values generated)
(963 missing values generated)
(961 missing values generated)
(125 missing values generated)
(1,059 missing values generated)
(1,059 missing values generated)
(1,059 missing values generated)
(1,059 missing values generated)
(134 missing values generated)
(1,058 missing values generated)
(1,058 missing values generated)
(1,057 missing values generated)
(1,058 missing values generated)

. foreach var of varlist stove_used_* {
  2.         capture replace `var' = "1" if `var' == "0, 1"
  3.         destring `var', replace
  4.         replace `var' = 1 if `var' > 1 & !mi(`var')
  5. }
stove_used_01 already numeric; no replace
(1 real change made)
stove_used_01an2 already numeric; no replace
(0 real changes made)
stove_used_03 already numeric; no replace
(1 real change made)
stove_used_04 already numeric; no replace
(0 real changes made)
stove_used_04bn2 already numeric; no replace
(0 real changes made)
stove_used_06 already numeric; no replace
(1 real change made)
stove_used_07an2 already numeric; no replace
(0 real changes made)
stove_used_07bn: all characters numeric; replaced as byte
(847 missing values generated)
(0 real changes made)
stove_used_07cn2 already numeric; no replace
(0 real changes made)
stove_used_07dn2 already numeric; no replace
(0 real changes made)
stove_used_07en2 already numeric; no replace
(0 real changes made)
stove_used_08 already numeric; no replace
(0 real changes made)
stove_used_09 already numeric; no replace
(0 real changes made)
stove_used_11an already numeric; no replace
(0 real changes made)
stove_used_11bn already numeric; no replace
(0 real changes made)
stove_used_12 already numeric; no replace
(0 real changes made)

.         
. * Fuel-use indicator, fuel-use regularity, fuel-collection time, and fuel-expenditure variables
. foreach var in e18 e20 e24a e24b e21na e21nb {
  2.         ren `var'_8 `var'_01
  3.         ren `var'_2 `var'_02
  4.         ren `var'_3 `var'_03
  5.         ren `var'_4 `var'_04
  6.         ren `var'_5 `var'_05
  7.         ren `var'_6 `var'_06
  8.         ren `var'_7 `var'_07
  9.         ren `var'_9 `var'_09
 10.         }

. ren BFY e18_08

. ren BGB e20_08

. ren BGI e24a_08

. ren BGJ e24b_08

. ren BGD e21na_08

. ren BGE e21nb_08

. lab var e18_01 "Use fuel: fuelwood"

. lab var e18_02 "Use fuel: crop residue"

. lab var e18_03 "Use fuel: leaves"

. lab var e18_04 "Use fuel: dung"

. lab var e18_05 "Use fuel: biomas pellets"

. lab var e18_06 "Use fuel: kerosene"

. lab var e18_07 "Use fuel: LPG"

. lab var e18_08 "Use fuel: electricity"

. lab var e18_09 "Use fuel: biogas"

. lab var e18_10 "Use fuel: other"

. lab var e18_11n2 "Use fuel: trash"

. foreach i in 01 02 03 04 05 06 07 08 09 10 11n2 {
  2. 
.         * Fuel use
.         clonevar fuel_use_`i' = e18_`i'
  3.         capture replace fuel_use_`i' = "1" if fuel_use_`i' == "0,1"
  4.         capture replace fuel_use_`i' = "1" if fuel_use_`i' == "0, 1"
  5.         destring fuel_use_`i', replace
  6.         clonevar fuel_use_regularity_`i' = e20_`i'
  7.         
.         * Fuel collection time
.         clonevar fuel_collection_time_`i' = e24a_`i'
  8.         clonevar fuel_collection_units_`i' = e24b_`i'
  9.         * Recording fuel-collection time units as per responses.
.         * NB: Time-unit responses are restricted in survey instrument but appear to have been given nonetheless.
.         capture replace fuel_collection_units_`i' = "1" if fuel_collection_units_`i' == "Every Day" | fuel_collection_units_`i' == "Per Day" | f
> uel_collection_units_`i' == "Per day" 
 10.         capture replace fuel_collection_units_`i' = "2" if fuel_collection_units_`i' == "Per Week" | fuel_collection_units_`i' == "Per week" 
> | fuel_collection_units_`i' == "Every Week" | fuel_collection_units_`i' == "per week"
 11.         capture replace fuel_collection_units_`i' = "3" if fuel_collection_units_`i' == "Monthly" | fuel_collection_units_`i' == "Per Month"
 12.         destring fuel_collection_units_`i', replace
 13.         
.         * Fuel regularity
.         clonevar fuel_expenditure_`i' = e21na_`i'
 14.         clonevar fuel_expenditure_units_`i' = e21nb_`i'
 15.         
.         }
(68 missing values generated)
fuel_use_01 already numeric; no replace
(95 missing values generated)
(86 missing values generated)
(86 missing values generated)
fuel_collection_units_01: all characters numeric; replaced as byte
(86 missing values generated)
(91 missing values generated)
(143 missing values generated)
(99 missing values generated)
fuel_use_02 already numeric; no replace
(1,059 missing values generated)
(1,060 missing values generated)
(1,060 missing values generated)
fuel_collection_units_02: all characters numeric; replaced as byte
(1060 missing values generated)
(1,061 missing values generated)
(1,059 missing values generated)
(97 missing values generated)
fuel_use_03 already numeric; no replace
(1,060 missing values generated)
(1,060 missing values generated)
(1,060 missing values generated)
fuel_collection_units_03: all characters numeric; replaced as byte
(1060 missing values generated)
(1,060 missing values generated)
(1,060 missing values generated)
(98 missing values generated)
fuel_use_04 already numeric; no replace
(1,060 missing values generated)
(1,060 missing values generated)
(1,060 missing values generated)
fuel_collection_units_04: all characters numeric; replaced as byte
(1060 missing values generated)
(1,060 missing values generated)
(1,061 missing values generated)
(100 missing values generated)
fuel_use_05 already numeric; no replace
(1,062 missing values generated)
(1,062 missing values generated)
(1,062 missing values generated)
fuel_collection_units_05 already numeric; no replace
(1,062 missing values generated)
(1,062 missing values generated)
(86 missing values generated)
fuel_use_06: all characters numeric; replaced as byte
(86 missing values generated)
(673 missing values generated)
(666 missing values generated)
(651 missing values generated)
fuel_collection_units_06: all characters numeric; replaced as byte
(651 missing values generated)
(648 missing values generated)
(728 missing values generated)
(86 missing values generated)
fuel_use_07: all characters numeric; replaced as byte
(86 missing values generated)
(684 missing values generated)
(638 missing values generated)
(631 missing values generated)
fuel_collection_units_07: all characters numeric; replaced as byte
(631 missing values generated)
(625 missing values generated)
(1,062 missing values generated)
(96 missing values generated)
fuel_use_08: all characters numeric; replaced as byte
(96 missing values generated)
(836 missing values generated)
(1,061 missing values generated)
(1,061 missing values generated)
fuel_collection_units_08: all characters numeric; replaced as byte
(1061 missing values generated)
(810 missing values generated)
(1,035 missing values generated)
(103 missing values generated)
fuel_use_09 already numeric; no replace
(1,056 missing values generated)
(1,056 missing values generated)
(1,055 missing values generated)
fuel_collection_units_09: all characters numeric; replaced as byte
(1055 missing values generated)
(1,056 missing values generated)
(1,056 missing values generated)
(132 missing values generated)
fuel_use_10 already numeric; no replace
(766 missing values generated)
(767 missing values generated)
(837 missing values generated)
fuel_collection_units_10: all characters numeric; replaced as byte
(837 missing values generated)
(769 missing values generated)
(768 missing values generated)
(112 missing values generated)
fuel_use_11n2 already numeric; no replace
(1,059 missing values generated)
(1,062 missing values generated)
(1,062 missing values generated)
fuel_collection_units_11n2 already numeric; no replace
(1,062 missing values generated)
(1,062 missing values generated)

. * Recoding fuel-collection time variables coded as string with fractions (with slashes)
. foreach var of varlist fuel_collection_time_* {
  2.         capture confirm string var `var'
  3.         if _rc == 0 {
  4.                 destring `var', gen(temp`var') force 
  5.                 gen `var'num = trim(substr(`var', 1, strpos(`var', "/") - 1))
  6.                 gen `var'denom = trim(substr(`var', strpos(`var', "/") + 1, 10))
  7.                 replace `var'denom = "" if `var'num == ""
  8.                 destring `var'num, replace
  9.                 destring `var'denom, replace
 10.                 gen `var'frac = `var'num / `var'denom
 11.                 replace temp`var' = `var'frac if temp`var' == . & `var'frac != .
 12.                 order temp`var', a(`var')
 13.                 rename `var' string_`var'
 14.                 rename temp`var' `var'
 15.                 drop `var'num `var'denom string_`var' `var'frac
 16.                 }
 17.         else disp "`var' is already numeric"
 18.         }
fuel_collection_time_01 is already numeric
fuel_collection_time_02 is already numeric
fuel_collection_time_03 is already numeric
fuel_collection_time_04 is already numeric
fuel_collection_time_05 is already numeric
fuel_collection_time_06: contains nonnumeric characters; tempfuel_collection_time_06 generated as double
(761 missing values generated)
(967 missing values generated)
(666 missing values generated)
(301 real changes made)
fuel_collection_time_06num: all characters numeric; replaced as byte
(967 missing values generated)
fuel_collection_time_06denom: all characters numeric; replaced as byte
(967 missing values generated)
(967 missing values generated)
(95 real changes made)
fuel_collection_time_07: contains nonnumeric characters; tempfuel_collection_time_07 generated as double
(734 missing values generated)
(967 missing values generated)
(638 missing values generated)
(329 real changes made)
fuel_collection_time_07num: all characters numeric; replaced as byte
(967 missing values generated)
fuel_collection_time_07denom: all characters numeric; replaced as byte
(967 missing values generated)
(967 missing values generated)
(95 real changes made)
fuel_collection_time_08 is already numeric
fuel_collection_time_09: contains nonnumeric characters; tempfuel_collection_time_09 generated as byte
(1057 missing values generated)
(1,061 missing values generated)
(1,056 missing values generated)
(5 real changes made)
fuel_collection_time_09num: all characters numeric; replaced as byte
(1061 missing values generated)
fuel_collection_time_09denom: all characters numeric; replaced as byte
(1061 missing values generated)
(1,061 missing values generated)
variable tempfuel_collection_time_09 was byte now float
(1 real change made)
fuel_collection_time_10: contains nonnumeric characters; tempfuel_collection_time_10 generated as double
(772 missing values generated)
(1,057 missing values generated)
(767 missing values generated)
(290 real changes made)
fuel_collection_time_10num: all characters numeric; replaced as byte
(1057 missing values generated)
fuel_collection_time_10denom: all characters numeric; replaced as byte
(1057 missing values generated)
(1,057 missing values generated)
(5 real changes made)
fuel_collection_time_11n2 is already numeric

. * Specifying fuel-collection time units per the follow-up survey instrument
. forval i = 1/11 {
  2.         if `i' < 10 {   
  3.                 gen fuel_collection_minutes_0`i' = .
  4.                 if (`i' <= 5) | (`i' > 7) {
  5.                         replace fuel_collection_minutes_0`i' = (fuel_collection_time_0`i' / 7) * 60 // Hours per week converted to minutes pe
> r day
  6.                         }               
  7.                 else if (`i' == 6) | (`i' == 7) {
  8.                         replace fuel_collection_minutes_0`i' = (fuel_collection_time_0`i' / 30) * 60 // Hours per month converted to minutes 
> per day
  9.                         }               
 10.                 }       
 11.         else if (`i' == 10) {   
 12.                 gen fuel_collection_minutes_`i' = .
 13.                 replace fuel_collection_minutes_`i' = (fuel_collection_time_`i' / 7) * 60 // Hours per week converted to minutes per day     
>            
 14.                 }
 15.         else {
 16.                 gen fuel_collection_minutes_`i'n2 = .
 17.                 replace fuel_collection_minutes_`i'n2 = (fuel_collection_time_`i' / 7) * 60 // Hours per week converted to minutes per day   
>            
 18.                 }
 19.         }
(1,062 missing values generated)
(976 real changes made)
(1,062 missing values generated)
(2 real changes made)
(1,062 missing values generated)
(2 real changes made)
(1,062 missing values generated)
(2 real changes made)
(1,062 missing values generated)
(0 real changes made)
(1,062 missing values generated)
(396 real changes made)
(1,062 missing values generated)
(423 real changes made)
(1,062 missing values generated)
(1 real change made)
(1,062 missing values generated)
(6 real changes made)
(1,062 missing values generated)
(295 real changes made)
(1,062 missing values generated)
(0 real changes made)

. * Drop temporary fuel-collection time and units variables
. drop fuel_collection_time_* fuel_collection_units_*

. * Recording fuel-expenditure to convert to numeric
. foreach i in 01 02 03 04 05 06 07 08 09 10 11n2 {
  2.         capture replace fuel_expenditure_`i' = "40" if fuel_expenditure_`i' == "40 Ltr"
  3.         destring fuel_expenditure_`i', replace
  4. }
fuel_expenditure_01 already numeric; no replace
fuel_expenditure_02 already numeric; no replace
fuel_expenditure_03 already numeric; no replace
fuel_expenditure_04 already numeric; no replace
fuel_expenditure_05 already numeric; no replace
fuel_expenditure_06: all characters numeric; replaced as int
(648 missing values generated)
fuel_expenditure_07 already numeric; no replace
fuel_expenditure_08 already numeric; no replace
fuel_expenditure_09 already numeric; no replace
fuel_expenditure_10 already numeric; no replace
fuel_expenditure_11n2 already numeric; no replace

. * Recording fuel-expenditure units to convert to numeric
. foreach i in 01 02 03 04 05 06 07 08 09 10 11n2 {
  2.         capture replace fuel_expenditure_units_`i' = "1" if fuel_expenditure_units_`i' == "1, 2, 3" | fuel_expenditure_units_`i' == "1,2, 3"
  3.         capture replace fuel_expenditure_units_`i' = "2" if fuel_expenditure_units_`i' == "2 Month"
  4.         destring fuel_expenditure_units_`i', replace
  5.         }
fuel_expenditure_units_01: all characters numeric; replaced as byte
(143 missing values generated)
fuel_expenditure_units_02 already numeric; no replace
fuel_expenditure_units_03 already numeric; no replace
fuel_expenditure_units_04 already numeric; no replace
fuel_expenditure_units_05 already numeric; no replace
fuel_expenditure_units_06 already numeric; no replace
fuel_expenditure_units_07 already numeric; no replace
fuel_expenditure_units_08: all characters numeric; replaced as byte
(1035 missing values generated)
fuel_expenditure_units_09 already numeric; no replace
fuel_expenditure_units_10 already numeric; no replace
fuel_expenditure_units_11n2 already numeric; no replace

.         
. * Self-reported fuelwood use
. clonevar fueluse_01 = e25a_8 // Fuelwood use incorrectly labeled
(84 missing values generated)

. replace fueluse_01 = "1.25" if fueluse_01 == "1/4"
variable fueluse_01 was str3 now str4
(1 real change made)

. destring fueluse_01, replace
fueluse_01: all characters numeric; replaced as double
(84 missing values generated)

. replace fueluse_01 = fueluse_01 / 7 if e25c_8 == 2  // converting weekly to daily 
(44 real changes made)

. replace fueluse_01 = fueluse_01 / 30 if e25c_8 == 3 // converting monthly to daily
(18 real changes made)

. label var fueluse_01 "Fuelwood usage per day, kg - self reported"

. ren fueluse_01 fuelwood_used_weight_reported

. 
. * Weighed fuelood use
. replace e25b2n_1 = "0.5" if e25b2n_1 == "1/2"
(1 real change made)

. destring e25b2n_1, replace
e25b2n_1: all characters numeric; replaced as double
(93 missing values generated)

. gen fuelwood_used_weight =  e25b1n_1 - e25b2n_1 
(94 missing values generated)

. label var fuelwood_used_weight "Amount of firewood used during the monitoring period, kgs - WEIGHED"

. 
. * Stove maintenance
. // Problems using Greenway
. gen problems_greenway = (!mi(f16n1) & f16n1 != "0")

. lab var problems_greenway "HH experienced problem with Gway stove"

. // Problems using G-Coil
. gen problems_gcoil = (!mi(f16n3) & f16n3 != "0")

. lab var problems_gcoil "HH experienced problem with Gcoil stove"

. // Maintenance Greenway
. gen maintenance_greenway = (!mi(f17n1) & f17n1 != 0)

. lab var maintenance_greenway "HH received maintenance for Gway stove"

. // Maintenance G-Coil
. gen maintenance_gcoil = (!mi(f17n3) & f17n3 != "0")

. lab var maintenance_gcoil "HH received mainteance for Gcoil stove"

. 
. * Generate surveyround variable
. gen surveyround = 2

. label var surveyround "survey round; 0 = baseline, 1 = follow-up 1, 2 = follow-up 2"

. 
. * Order and rename variables
. 
. keep hh_id gpname gp_code IDcompleted surveyround lostin2014 hhmissing  ///
>         hh_member_* age_year_* age_month_* age_day_* household_head_* sex_* cooks_* primary_cook_* ///
>         cough_or_cold_* stove_own_* number_stove_own_* stove_used_* stove_use_hours_* stove_use_minutes_* ///
>         fuel_use_* fuelwood_used_weight fuelwood_used_weight_reported fuel_collection_* fuel_expenditure_* problems_* maintenance_*     

. 
. order hh_id gpname gp_code IDcompleted surveyround lostin2014 hhmissing  ///
>         hh_member_* age_year_* age_month_* age_day_* household_head_* sex_* cooks_* primary_cook_* ///
>         cough_or_cold_* stove_own_* number_stove_own_* stove_used_* stove_use_hours_* stove_use_minutes_* ///
>         fuel_use_* fuelwood_used_weight fuelwood_used_weight_reported fuel_collection_* fuel_expenditure_* problems_* maintenance_*     

. 
. foreach var of varlist stove_own* number_stove_own* stove_used_* stove_use_* {
  2.         ren `var' R2_`var'
  3.         }

. 
. * SAVE: ROUND 2 ****************************************************************
. 
. save "${output}r2_followup_cleaned.dta", replace
file C:\Users\faraz\Box Sync\Home Folder fu8\Research-Box\Marc, Faraz\microinstitutions\Analyses\Main folder\output/r2_followup_cleaned.dta saved

. 
end of do-file

. 
. // Combine rounds and create household-level panel
. do "${code}merge_r0_r1_r2.do"

. * Merge three rounds of survey data and create final variables for analysis
. 
. use "${output}r0_baseline_cleaned.dta", clear

. append using "${output}r1_followup_cleaned.dta"
(note: variable hh_member_01 was str20, now str25 to accommodate using data's values)
(note: variable hh_member_02 was str20, now str25 to accommodate using data's values)
(note: variable hh_member_03 was str20, now str25 to accommodate using data's values)
(note: variable hh_member_04 was str20, now str25 to accommodate using data's values)
(note: variable hh_member_05 was str20, now str25 to accommodate using data's values)
(note: variable hh_member_06 was str20, now str25 to accommodate using data's values)
(note: variable hh_member_07 was str20, now str25 to accommodate using data's values)
(note: variable hh_member_08 was str20, now str25 to accommodate using data's values)
(note: variable hh_member_09 was str20, now str25 to accommodate using data's values)
(note: variable hh_member_10 was str20, now str25 to accommodate using data's values)
(note: variable hh_member_11 was str20, now str25 to accommodate using data's values)
(note: variable hh_member_12 was str20, now str25 to accommodate using data's values)
(note: variable hh_member_13 was str20, now str25 to accommodate using data's values)
(note: variable hh_member_14 was str20, now str25 to accommodate using data's values)
(note: variable hh_member_15 was str20, now str25 to accommodate using data's values)
(note: variable age_year_01 was byte, now int to accommodate using data's values)
(note: variable age_year_02 was byte, now int to accommodate using data's values)
(note: variable age_year_03 was byte, now int to accommodate using data's values)
(note: variable age_year_04 was byte, now int to accommodate using data's values)
(note: variable age_year_05 was byte, now int to accommodate using data's values)
(note: variable age_year_06 was byte, now int to accommodate using data's values)
(note: variable age_year_07 was byte, now int to accommodate using data's values)
(note: variable age_year_08 was byte, now int to accommodate using data's values)
(note: variable age_year_09 was byte, now int to accommodate using data's values)
(note: variable age_year_10 was byte, now int to accommodate using data's values)
(note: variable age_year_11 was byte, now int to accommodate using data's values)
(note: variable age_year_12 was byte, now int to accommodate using data's values)
(note: variable age_year_13 was byte, now int to accommodate using data's values)
(note: variable age_year_14 was byte, now int to accommodate using data's values)
(note: variable age_year_15 was byte, now int to accommodate using data's values)
(note: variable age_month_01 was byte, now int to accommodate using data's values)
(note: variable age_month_02 was byte, now int to accommodate using data's values)
(note: variable age_month_03 was byte, now int to accommodate using data's values)
(note: variable age_month_04 was byte, now int to accommodate using data's values)
(note: variable age_month_05 was byte, now int to accommodate using data's values)
(note: variable age_month_06 was byte, now int to accommodate using data's values)
(note: variable age_month_07 was byte, now int to accommodate using data's values)
(note: variable age_month_08 was byte, now int to accommodate using data's values)
(note: variable age_month_09 was byte, now int to accommodate using data's values)
(note: variable age_month_10 was byte, now int to accommodate using data's values)
(note: variable age_month_11 was byte, now int to accommodate using data's values)
(note: variable age_month_12 was byte, now int to accommodate using data's values)
(note: variable age_month_13 was byte, now int to accommodate using data's values)
(note: variable age_month_14 was byte, now int to accommodate using data's values)
(note: variable age_month_15 was byte, now int to accommodate using data's values)
(note: variable age_day_01 was byte, now int to accommodate using data's values)
(note: variable age_day_02 was byte, now int to accommodate using data's values)
(note: variable age_day_03 was byte, now int to accommodate using data's values)
(note: variable age_day_04 was byte, now int to accommodate using data's values)
(note: variable age_day_05 was byte, now int to accommodate using data's values)
(note: variable age_day_06 was byte, now int to accommodate using data's values)
(note: variable age_day_07 was byte, now int to accommodate using data's values)
(note: variable age_day_08 was byte, now int to accommodate using data's values)
(note: variable age_day_09 was byte, now int to accommodate using data's values)
(note: variable age_day_10 was byte, now int to accommodate using data's values)
(note: variable age_day_11 was byte, now int to accommodate using data's values)
(note: variable age_day_12 was byte, now int to accommodate using data's values)
(note: variable age_day_13 was byte, now int to accommodate using data's values)
(note: variable age_day_14 was byte, now int to accommodate using data's values)
(note: variable age_day_15 was byte, now int to accommodate using data's values)
(note: variable sex_01 was byte, now int to accommodate using data's values)
(note: variable sex_02 was byte, now int to accommodate using data's values)
(note: variable sex_03 was byte, now int to accommodate using data's values)
(note: variable sex_04 was byte, now int to accommodate using data's values)
(note: variable sex_05 was byte, now int to accommodate using data's values)
(note: variable sex_06 was byte, now int to accommodate using data's values)
(note: variable sex_07 was byte, now int to accommodate using data's values)
(note: variable sex_08 was byte, now int to accommodate using data's values)
(note: variable sex_09 was byte, now int to accommodate using data's values)
(note: variable sex_10 was byte, now int to accommodate using data's values)
(note: variable sex_11 was byte, now int to accommodate using data's values)
(note: variable sex_12 was byte, now int to accommodate using data's values)
(note: variable sex_13 was byte, now int to accommodate using data's values)
(note: variable sex_14 was byte, now int to accommodate using data's values)
(note: variable sex_15 was byte, now int to accommodate using data's values)
(note: variable education_years_01 was byte, now int to accommodate using data's values)
(note: variable education_years_02 was byte, now int to accommodate using data's values)
(note: variable education_years_03 was byte, now int to accommodate using data's values)
(note: variable education_years_04 was byte, now int to accommodate using data's values)
(note: variable education_years_05 was byte, now int to accommodate using data's values)
(note: variable education_years_06 was byte, now int to accommodate using data's values)
(note: variable education_years_07 was byte, now int to accommodate using data's values)
(note: variable education_years_08 was byte, now int to accommodate using data's values)
(note: variable education_years_09 was byte, now int to accommodate using data's values)
(note: variable education_years_10 was byte, now int to accommodate using data's values)
(note: variable education_years_11 was byte, now int to accommodate using data's values)
(note: variable education_years_12 was byte, now int to accommodate using data's values)
(note: variable education_years_13 was byte, now int to accommodate using data's values)
(note: variable education_years_14 was byte, now int to accommodate using data's values)
(note: variable education_years_15 was byte, now int to accommodate using data's values)
(note: variable school_indicator_01 was byte, now int to accommodate using data's values)
(note: variable school_indicator_02 was byte, now int to accommodate using data's values)
(note: variable school_indicator_03 was byte, now int to accommodate using data's values)
(note: variable school_indicator_04 was byte, now int to accommodate using data's values)
(note: variable school_indicator_05 was byte, now int to accommodate using data's values)
(note: variable school_indicator_06 was byte, now int to accommodate using data's values)
(note: variable school_indicator_07 was byte, now int to accommodate using data's values)
(note: variable school_indicator_08 was byte, now int to accommodate using data's values)
(note: variable school_indicator_09 was byte, now int to accommodate using data's values)
(note: variable school_indicator_10 was byte, now int to accommodate using data's values)
(note: variable school_indicator_11 was byte, now int to accommodate using data's values)
(note: variable school_indicator_12 was byte, now int to accommodate using data's values)
(note: variable school_indicator_13 was byte, now int to accommodate using data's values)
(note: variable school_indicator_14 was byte, now int to accommodate using data's values)
(note: variable school_indicator_15 was byte, now int to accommodate using data's values)
(note: variable cough_or_cold_01 was byte, now int to accommodate using data's values)
(note: variable cough_or_cold_02 was byte, now int to accommodate using data's values)
(note: variable cough_or_cold_03 was byte, now int to accommodate using data's values)
(note: variable cough_or_cold_04 was byte, now int to accommodate using data's values)
(note: variable cough_or_cold_05 was byte, now int to accommodate using data's values)
(note: variable cough_or_cold_06 was byte, now int to accommodate using data's values)
(note: variable cough_or_cold_07 was byte, now int to accommodate using data's values)
(note: variable cough_or_cold_08 was byte, now int to accommodate using data's values)
(note: variable cough_or_cold_09 was byte, now int to accommodate using data's values)
(note: variable cough_or_cold_10 was byte, now int to accommodate using data's values)
(note: variable cough_or_cold_11 was byte, now int to accommodate using data's values)
(note: variable cough_or_cold_12 was byte, now int to accommodate using data's values)
(note: variable cough_or_cold_13 was byte, now int to accommodate using data's values)
(note: variable cough_or_cold_14 was byte, now int to accommodate using data's values)
(note: variable cough_or_cold_15 was byte, now int to accommodate using data's values)
(note: variable fuel_use_01 was byte, now int to accommodate using data's values)
(note: variable fuel_use_regularity_01 was byte, now int to accommodate using data's values)
(note: variable fuel_use_02 was byte, now int to accommodate using data's values)
(note: variable fuel_use_regularity_02 was byte, now int to accommodate using data's values)
(note: variable fuel_use_03 was byte, now int to accommodate using data's values)
(note: variable fuel_use_regularity_03 was byte, now int to accommodate using data's values)
(note: variable fuel_use_04 was byte, now int to accommodate using data's values)
(note: variable fuel_use_regularity_04 was byte, now int to accommodate using data's values)
(note: variable fuel_use_05 was byte, now int to accommodate using data's values)
(note: variable fuel_use_regularity_05 was byte, now int to accommodate using data's values)
(note: variable fuel_use_06 was byte, now int to accommodate using data's values)
(note: variable fuel_use_regularity_06 was byte, now int to accommodate using data's values)
(note: variable fuel_use_07 was byte, now int to accommodate using data's values)
(note: variable fuel_use_regularity_07 was byte, now int to accommodate using data's values)
(note: variable fuel_use_08 was byte, now int to accommodate using data's values)
(note: variable fuel_use_regularity_08 was byte, now int to accommodate using data's values)
(note: variable fuel_use_09 was byte, now int to accommodate using data's values)
(note: variable fuel_use_regularity_09 was byte, now int to accommodate using data's values)
(note: variable fuel_use_10 was byte, now int to accommodate using data's values)
(note: variable fuel_use_regularity_10 was byte, now int to accommodate using data's values)
(note: variable fuel_expenditure_01 was int, now long to accommodate using data's values)
(note: variable fuel_expenditure_units_01 was byte, now int to accommodate using data's values)
(note: variable fuel_expenditure_02 was int, now long to accommodate using data's values)
(note: variable fuel_expenditure_units_02 was byte, now int to accommodate using data's values)
(note: variable fuel_expenditure_03 was int, now long to accommodate using data's values)
(note: variable fuel_expenditure_units_03 was byte, now int to accommodate using data's values)
(note: variable fuel_expenditure_04 was int, now long to accommodate using data's values)
(note: variable fuel_expenditure_units_04 was byte, now int to accommodate using data's values)
(note: variable fuel_expenditure_05 was byte, now long to accommodate using data's values)
(note: variable fuel_expenditure_units_05 was byte, now int to accommodate using data's values)
(note: variable fuel_expenditure_06 was int, now long to accommodate using data's values)
(note: variable fuel_expenditure_units_06 was byte, now int to accommodate using data's values)
(note: variable fuel_expenditure_07 was int, now long to accommodate using data's values)
(note: variable fuel_expenditure_units_07 was byte, now int to accommodate using data's values)
(note: variable fuel_expenditure_08 was int, now long to accommodate using data's values)
(note: variable fuel_expenditure_units_08 was byte, now int to accommodate using data's values)
(note: variable fuel_expenditure_09 was int, now long to accommodate using data's values)
(note: variable fuel_expenditure_units_09 was byte, now int to accommodate using data's values)
(note: variable fuel_expenditure_10 was byte, now long to accommodate using data's values)
(note: variable fuel_expenditure_units_10 was byte, now int to accommodate using data's values)
(note: variable smoke_safety_perception was byte, now int to accommodate using data's values)
(note: variable relative_wealth was byte, now float to accommodate using data's values)
(label D2 already defined)
(label C11 already defined)
(label E20 already defined)
(label E18 already defined)
(label E6 already defined)
(label E1 already defined)
(label B11 already defined)
(label B4 already defined)
(label C4 already defined)

. append using "${output}r2_followup_cleaned.dta"
(note: variable age_year_04 was int, now double to accommodate using data's values)

. 
. ********************************************************************************
. 
. * BASIC VARIABLE SET-UP
. 
. sort hh_id surveyround

. 
. foreach var of varlist state_code districtcode districtname village gpsubcl_code uniquegrp blockcode blockname {
  2.         bys hh_id (surveyround) : replace `var' = `var'[_n-1] if _n == 2 & !mi(`var'[_n-1])
  3.         bys hh_id (surveyround) : replace `var' = `var'[_n-1] if _n == 3 & !mi(`var'[_n-1])
  4.         }
(1,063 real changes made)
(1,062 real changes made)
(1063 real changes made)
(1062 real changes made)
(1,063 real changes made)
(1,062 real changes made)
(1,063 real changes made)
(1,062 real changes made)
(1,058 real changes made)
(1,057 real changes made)
(1063 real changes made)
(1062 real changes made)
(1063 real changes made)
(1062 real changes made)
(1,063 real changes made)
(1,062 real changes made)

. 
. egen treat_mean = mean(treatment), by(hh_id)

. egen chirag_mean = mean(chirag_strata), by(hh_id)

. drop treatment chirag_strata

. ren treat_mean treatment

. lab var treatment "Household randomly assigned to promotion intervention"

. ren chirag_mean chirag_strata

. lab var chirag_strata "GP has NGO presence"

. 
. ********************************************************************************
. 
. * DESCRIPTIVE STATISTICS
. 
. global personid 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15

. 
. * Number of household members indicated as 'head'
. egen count_hh = anycount(household_head_*), values(1)

. lab var count_hh "Number of household members indicated as 'head'"

. 
. * Number of household members indicated as 'primary cook'
. egen count_pc = anycount(cooks_*), values(1)

. lab var count_pc "Number of household members indicated as 'primary cook'"

. 
. * Household size
. egen household_size = rownonmiss(*_member_*), strok

. label var household_size "Household size"

. tab household_size

  Household |
       size |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         12        0.38        0.38
          1 |        101        3.17        3.54
          2 |        263        8.25       11.79
          3 |        366       11.48       23.27
          4 |        567       17.79       41.06
          5 |        696       21.83       62.89
          6 |        517       16.22       79.11
          7 |        323       10.13       89.24
          8 |        167        5.24       94.48
          9 |         78        2.45       96.93
         10 |         45        1.41       98.34
         11 |         11        0.35       98.68
         12 |         18        0.56       99.25
         13 |         13        0.41       99.65
         14 |          8        0.25       99.91
         15 |          3        0.09      100.00
------------+-----------------------------------
      Total |      3,188      100.00

. 
. * Number of children under five
. foreach i in $personid {
  2.         replace age_year_`i' = . if age_year_`i' < 0
  3.         replace age_month_`i' = . if !mi(age_year_`i') & age_year_`i' > 5
  4.         replace age_day_`i' = . if !mi(age_year_`i') & age_year_`i' > 5
  5.         gen child_under_five_`i' = 0
  6.         replace child_under_five_`i' = 1 if (age_year_`i' <= 5 & !mi(age_year_`i')) | (age_month_`i' > 0 & !mi(age_month_`i')) | (age_day_`i'
>  > 0 & !mi(age_day_`i'))
  7.         replace child_under_five_`i' = . if mi(age_year_`i') & mi(age_month_`i') & mi(age_day_`i')
  8.         }
(1 real change made, 1 to missing)
(62 real changes made, 62 to missing)
(61 real changes made, 61 to missing)
(1 real change made)
(137 real changes made, 137 to missing)
(1 real change made, 1 to missing)
(59 real changes made, 59 to missing)
(59 real changes made, 59 to missing)
(2 real changes made)
(217 real changes made, 217 to missing)
(0 real changes made)
(54 real changes made, 54 to missing)
(54 real changes made, 54 to missing)
(92 real changes made)
(495 real changes made, 495 to missing)
(0 real changes made)
(41 real changes made, 41 to missing)
(41 real changes made, 41 to missing)
(198 real changes made)
(827 real changes made, 827 to missing)
(0 real changes made)
(23 real changes made, 23 to missing)
(23 real changes made, 23 to missing)
(356 real changes made)
(1,367 real changes made, 1,367 to missing)
(0 real changes made)
(20 real changes made, 20 to missing)
(19 real changes made, 19 to missing)
(273 real changes made)
(2,042 real changes made, 2,042 to missing)
(0 real changes made)
(12 real changes made, 12 to missing)
(12 real changes made, 12 to missing)
(176 real changes made)
(2,539 real changes made, 2,539 to missing)
(0 real changes made)
(6 real changes made, 6 to missing)
(6 real changes made, 6 to missing)
(115 real changes made)
(2,859 real changes made, 2,859 to missing)
(0 real changes made)
(3 real changes made, 3 to missing)
(2 real changes made, 2 to missing)
(59 real changes made)
(3,024 real changes made, 3,024 to missing)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(53 real changes made)
(3,098 real changes made, 3,098 to missing)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(19 real changes made)
(3,140 real changes made, 3,140 to missing)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(23 real changes made)
(3,148 real changes made, 3,148 to missing)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(7 real changes made)
(3,165 real changes made, 3,165 to missing)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(4 real changes made)
(3,178 real changes made, 3,178 to missing)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3 real changes made)
(3,185 real changes made, 3,185 to missing)

. egen children_under_five = rowtotal(child_under_five_*)

. 
. * Female head of household
. foreach i in $personid {
  2.         gen female_hh_`i' = 0 if household_head_`i' == 1 & sex_`i' != 2
  3.         replace female_hh_`i' = 1 if household_head_`i' == 1 & sex_`i' == 2
  4.         }
(722 missing values generated)
(628 real changes made)
(3,142 missing values generated)
(209 real changes made)
(3,178 missing values generated)
(8 real changes made)
(3,188 missing values generated)
(0 real changes made)
(3,183 missing values generated)
(1 real change made)
(3,187 missing values generated)
(0 real changes made)
(3,186 missing values generated)
(3 real changes made)
(3,188 missing values generated)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)

. egen female_household_head = rowtotal(female_hh_*), missing
(45 missing values generated)

. replace female_household_head = 1 if female_household_head >= 1 & !mi(female_household_head)
(5 real changes made)

. label var female_household_head "Head of household is female"

. drop female_hh_*

. 
. * Age of head of household
. foreach i in $personid {
  2.         gen age_hh_`i' = age_year_`i' if household_head_`i' == 1
  3.         }
(211 missing values generated)
(2,943 missing values generated)
(3,170 missing values generated)
(3,188 missing values generated)
(3,182 missing values generated)
(3,187 missing values generated)
(3,184 missing values generated)
(3,188 missing values generated)
(3,188 missing values generated)
(3,188 missing values generated)
(3,188 missing values generated)
(3,188 missing values generated)
(3,188 missing values generated)
(3,188 missing values generated)
(3,188 missing values generated)

. rowsort age_hh_*, gen(s1 - s15)

. gen age_household_head = .
(3,188 missing values generated)

. foreach i of numlist 1/15 {
  2.         replace age_household_head = s`i' if count_hh == `i'
  3.         }
(2,809 real changes made)
(211 real changes made)
(3 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)

. replace age_household_head = . if age_household_head < 0 
(0 real changes made)

. label var age_household_head "Age of head of household (years)"

. drop age_hh_* s1 - s15

. 
. * Years of education of head of household
. foreach i in $personid {
  2.         gen educ_hh_`i' = education_years_`i' if household_head_`i' == 1 
  3.         replace educ_hh_`i' = 0 if school_indicator_`i'== 0 & household_head_`i' == 1 
  4.         replace educ_hh_`i' = . if (education_years_`i' == -9 & household_head_`i' == 1) | (school_indicator_`i' == -9 & household_head_`i' =
> = 1)
  5.         }
(1,363 missing values generated)
(152 real changes made)
(3 real changes made, 3 to missing)
(3,037 missing values generated)
(9 real changes made)
(1 real change made, 1 to missing)
(3,178 missing values generated)
(1 real change made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)
(3,186 missing values generated)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)
(3,185 missing values generated)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)

. rowsort educ_hh_*, gen(s1 - s15)

. gen education_household_head = .
(3,188 missing values generated)

. foreach i of numlist 1/15 {
  2.         replace education_household_head = s`i' if count_hh == `i'
  3.         } 
(1,850 real changes made)
(140 real changes made)
(2 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)

. label var education_household_head "Years of education - head of household"

. drop educ_hh_* s1 - s15

. 
. * Years of education of primary cook
. foreach i in $personid {
  2.         gen educ_pc_`i' = education_years_`i' if cooks_`i' == 1
  3.         replace educ_pc_`i' = 0 if school_indicator_`i' == 0 & cooks_`i' == 1
  4.         replace educ_pc_`i' = . if (education_years_`i' == -9 & cooks_`i' == 1) | (school_indicator_`i' == -9 & cooks_`i' == 1)
  5.         }
(2,970 missing values generated)
(50 real changes made)
(0 real changes made)
(2,079 missing values generated)
(157 real changes made)
(1 real change made, 1 to missing)
(2,945 missing values generated)
(17 real changes made)
(0 real changes made)
(3,002 missing values generated)
(7 real changes made)
(0 real changes made)
(3,169 missing values generated)
(0 real changes made)
(0 real changes made)
(3,179 missing values generated)
(1 real change made)
(0 real changes made)
(3,184 missing values generated)
(0 real changes made)
(0 real changes made)
(3,186 missing values generated)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(0 real changes made)
(0 real changes made)

. rowsort educ_pc_*, gen(s1 - s15)

. gen education_primary_cook = .
(3,188 missing values generated)

. foreach i of numlist 1/15 {
  2.         replace education_primary_cook = s`i' if count_pc == `i'
  3.         } 
(1,987 real changes made)
(12 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)

. drop educ_pc_* s1 - s15

. label var education_primary_cook "Years of education - primary cook"

. 
. * Below poverty line (BPL)
. label var below_pov_line "Household reports they are below poverty line (BPL)"

. 
. * Owns traditional stove (BASELINE)
. gen traditional_stove_own = 0 if BL_stove_own_01 == 0 | BL_stove_own_02 == 0 | BL_stove_own_03 == 0 | BL_stove_own_09 == 0 | BL_stove_own_10 == 
> 0
(2,157 missing values generated)

. replace traditional_stove_own = 1 if BL_stove_own_01 == 1 | BL_stove_own_02 == 1 | BL_stove_own_03 == 1 | BL_stove_own_09 == 1 | BL_stove_own_10
>  == 1
(1,034 real changes made)

. replace traditional_stove_own = 1 if BL_number_stove_own_01 == 1 & traditional_stove_own == .           // N = 2 households
(2 real changes made)

. replace traditional_stove_own = 0 if BL_stove_own_06 == 1 & traditional_stove_own == .                          // N = 1 households
(1 real change made)

. * Owns traditional stove (FOLLOW-UP 1)
. replace traditional_stove_own = 0 if R1_stove_own_01 == 0 | R1_stove_own_03 == 0 | R1_stove_own_09 == 0 
(972 real changes made)

. replace traditional_stove_own = 1 if R1_stove_own_01 == 1 | R1_stove_own_03 == 1 | R1_stove_own_09 == 1
(961 real changes made)

. replace traditional_stove_own = 0 if R1_stove_own_04 == 1 & traditional_stove_own == .                          // N = 1 household
(1 real change made)

. * Owns tradititional stove (FOLLOW-UP 2)
. foreach i in 01 01an2 03 07bn {
  2.         replace R2_stove_own_`i' = "1" if R2_stove_own_`i' == "0,1" | R2_stove_own_`i' == "0, 1"
  3.         destring R2_stove_own_`i', replace
  4.         }
(1 real change made)
R2_stove_own_01: all characters numeric; replaced as byte
(2205 missing values generated)
(1 real change made)
R2_stove_own_01an2: all characters numeric; replaced as byte
(2237 missing values generated)
(2 real changes made)
R2_stove_own_03: all characters numeric; replaced as byte
(2238 missing values generated)
(1 real change made)
R2_stove_own_07bn: all characters numeric; replaced as byte
(2226 missing values generated)

. foreach i in 01 09 {
  2.         replace R2_stove_own_`i' = 1 if R2_stove_own_`i' == 0 & R2_number_stove_own_`i' == "1"
  3.         }
(2 real changes made)
(2 real changes made)

. replace R2_number_stove_own_01 = "1" if R2_number_stove_own_01 == "1,2"
(1 real change made)

. replace R2_number_stove_own_09 = "1" if R2_number_stove_own_09 == "1, 2"
(1 real change made)

. destring R2_number_stove_own_*, replace 
R2_number_stove_own_01: all characters numeric; replaced as byte
(2607 missing values generated)
R2_number_stove_own_01an2 already numeric; no replace
R2_number_stove_own_03 already numeric; no replace
R2_number_stove_own_04 already numeric; no replace
R2_number_stove_own_04bn2 already numeric; no replace
R2_number_stove_own_06 already numeric; no replace
R2_number_stove_own_07an2 already numeric; no replace
R2_number_stove_own_07bn already numeric; no replace
R2_number_stove_own_07cn2 already numeric; no replace
R2_number_stove_own_07dn2 already numeric; no replace
R2_number_stove_own_07en2 already numeric; no replace
R2_number_stove_own_08 already numeric; no replace
R2_number_stove_own_09: all characters numeric; replaced as byte
(2500 missing values generated)
R2_number_stove_own_11an already numeric; no replace
R2_number_stove_own_11bn already numeric; no replace
R2_number_stove_own_12 already numeric; no replace

. foreach i in 01 01an2 03 04 04bn2 06 07an2 07bn 07cn2 07dn2 07en2 08 09 11an 11bn 12 {
  2.         replace R2_stove_own_`i' = 1 if R2_stove_own_`i' == 0 & (R2_number_stove_own_`i' > 0 & !mi(R2_number_stove_own_`i'))
  3.         }
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3 real changes made)
(0 real changes made)
(4 real changes made)
(1 real change made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(2 real changes made)
(0 real changes made)
(0 real changes made)

. replace traditional_stove_own = 0 if R2_stove_own_01 == 0 | R2_stove_own_01an2 == 0 | R2_stove_own_03 == 0 | R2_stove_own_09 == 0
(948 real changes made)

. replace traditional_stove_own = 1 if R2_stove_own_01 == 1 | R2_stove_own_01an2 == 1 | R2_stove_own_03 == 1 | R2_stove_own_09 == 1
(983 real changes made)

. replace traditional_stove_own = 0 if R2_stove_own_04 == 1 & traditional_stove_own == .
(0 real changes made)

. label var traditional_stove_own "HH owns trad. stove (mitti ka chulha, anjeti, TSF, sagarh, coal)"

. 
. * Minutes of traditional-stove use per day (BASELINE)
. foreach i in 01 02 03 04 05 06 07 08 09 10 11 12 {
  2.         destring BL_stove_use_hours_`i' BL_stove_use_minutes_`i', replace
  3.         
.         replace BL_stove_use_hours_`i' = 0 if BL_stove_use_hours_`i' < 0 & !mi(BL_stove_use_hours_`i')
  4.         replace BL_stove_use_hours_`i' = 24 if BL_stove_use_hours_`i' > 24 & !mi(BL_stove_use_hours_`i')
  5.         replace BL_stove_use_minutes_`i' = 0 if BL_stove_use_minutes_`i' < 0 & !mi(BL_stove_use_minutes_`i')
  6.         replace BL_stove_use_minutes_`i' = 1440 if BL_stove_use_minutes_`i' > 1440 & !mi(BL_stove_use_minutes_`i')
  7.         
.         gen BL_stove_hours_to_mins_`i' = BL_stove_use_hours_`i' * 60
  8.         egen BL_total_minutes_stove_`i' = rowtotal(BL_stove_hours_to_mins_`i' BL_stove_use_minutes_`i'), missing
  9.         replace BL_total_minutes_stove_`i' = 0 if BL_stove_own_`i' == 0
 10.         lab var BL_total_minutes_stove_`i' "BL: Total minutes using stove [TYPE] per day"
 11.         lab var BL_stove_hours_to_mins_`i' "BL: Total hours using stove [TYPE] (in mins.)"
 12.         }
BL_stove_use_hours_01 already numeric; no replace
BL_stove_use_minutes_01 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(2,785 missing values generated)
(2,785 missing values generated)
(649 real changes made)
BL_stove_use_hours_02 already numeric; no replace
BL_stove_use_minutes_02 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,156 missing values generated)
(3,155 missing values generated)
(994 real changes made)
BL_stove_use_hours_03 already numeric; no replace
BL_stove_use_minutes_03 already numeric; no replace
(1 real change made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(2,684 missing values generated)
(2,684 missing values generated)
(538 real changes made)
BL_stove_use_hours_04 already numeric; no replace
BL_stove_use_minutes_04 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,177 missing values generated)
(3,177 missing values generated)
(1,018 real changes made)
BL_stove_use_hours_05 already numeric; no replace
BL_stove_use_minutes_05 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,186 missing values generated)
(3,186 missing values generated)
(1,023 real changes made)
BL_stove_use_hours_06 already numeric; no replace
BL_stove_use_minutes_06 already numeric; no replace
(1 real change made)
(1 real change made)
(0 real changes made)
(0 real changes made)
(2,887 missing values generated)
(2,885 missing values generated)
(733 real changes made)
BL_stove_use_hours_07 already numeric; no replace
BL_stove_use_minutes_07 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,182 missing values generated)
(3,182 missing values generated)
(1,020 real changes made)
BL_stove_use_hours_08 already numeric; no replace
BL_stove_use_minutes_08 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,177 missing values generated)
(3,177 missing values generated)
(1,016 real changes made)
BL_stove_use_hours_09 already numeric; no replace
BL_stove_use_minutes_09 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(2,978 missing values generated)
(2,978 missing values generated)
(819 real changes made)
BL_stove_use_hours_10 already numeric; no replace
BL_stove_use_minutes_10 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,187 missing values generated)
(3,187 missing values generated)
(1,025 real changes made)
BL_stove_use_hours_11 already numeric; no replace
BL_stove_use_minutes_11 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,187 missing values generated)
(3,187 missing values generated)
(1,023 real changes made)
BL_stove_use_hours_12 already numeric; no replace
BL_stove_use_minutes_12 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,185 missing values generated)
(3,185 missing values generated)
(1,021 real changes made)

. * Minutes of traditional-stove use per day (FOLLOW-UP 1)
. foreach i in 01 03 04 06 07an 07bn 08 09 11an 11bn 12 {
  2.         destring R1_stove_use_hours_`i' R1_stove_use_minutes_`i', replace
  3.         
.         replace R1_stove_use_hours_`i' = 0 if R1_stove_use_hours_`i' < 0 & !mi(R1_stove_use_hours_`i')
  4.         replace R1_stove_use_hours_`i' = 24 if R1_stove_use_hours_`i' > 24 & !mi(R1_stove_use_hours_`i')
  5.         replace R1_stove_use_minutes_`i' = 0 if R1_stove_use_minutes_`i' < 0 & !mi(R1_stove_use_minutes_`i')
  6.         replace R1_stove_use_minutes_`i' = 1440 if R1_stove_use_minutes_`i' > 1440 & !mi(R1_stove_use_minutes_`i')
  7.         
.         gen R1_stove_hours_to_mins_`i' = R1_stove_use_hours_`i' * 60
  8.         egen R1_total_minutes_stove_`i' = rowtotal(R1_stove_hours_to_mins_`i' R1_stove_use_minutes_`i'), missing
  9.         replace R1_total_minutes_stove_`i' = 0 if R1_stove_own_`i' == 0
 10.         lab var R1_total_minutes_stove_`i' "R1: Total minutes using stove [TYPE] per day"
 11.         lab var R1_stove_hours_to_mins_`i' "R1: Total hours using stove [TYPE] (in mins.)"
 12.         }
R1_stove_use_hours_01 already numeric; no replace
R1_stove_use_minutes_01 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(2,735 missing values generated)
(2,734 missing values generated)
(524 real changes made)
R1_stove_use_hours_03 already numeric; no replace
R1_stove_use_minutes_03 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(2,734 missing values generated)
(2,734 missing values generated)
(518 real changes made)
R1_stove_use_hours_04 already numeric; no replace
R1_stove_use_minutes_04 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,183 missing values generated)
(3,182 missing values generated)
(967 real changes made)
R1_stove_use_hours_06 already numeric; no replace
R1_stove_use_minutes_06 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(2,853 missing values generated)
(2,833 missing values generated)
(621 real changes made)
R1_stove_use_hours_07an already numeric; no replace
R1_stove_use_minutes_07an already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,183 missing values generated)
(3,183 missing values generated)
(967 real changes made)
R1_stove_use_hours_07bn already numeric; no replace
R1_stove_use_minutes_07bn already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,033 missing values generated)
(2,981 missing values generated)
(736 real changes made)
R1_stove_use_hours_08 already numeric; no replace
R1_stove_use_minutes_08 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,181 missing values generated)
(3,179 missing values generated)
(962 real changes made)
R1_stove_use_hours_09 already numeric; no replace
R1_stove_use_minutes_09 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,099 missing values generated)
(3,095 missing values generated)
(882 real changes made)
R1_stove_use_hours_11an already numeric; no replace
R1_stove_use_minutes_11an already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,104 missing values generated)
(3,098 missing values generated)
(873 real changes made)
R1_stove_use_hours_11bn already numeric; no replace
R1_stove_use_minutes_11bn already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,185 missing values generated)
(3,184 missing values generated)
(967 real changes made)
R1_stove_use_hours_12 already numeric; no replace
R1_stove_use_minutes_12 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,187 missing values generated)
(3,187 missing values generated)
(968 real changes made)

. * Minutes of traditional-stove use per day (FOLLOW-UP 2)
. foreach i in 01 01an2 03 04 04bn2 06 07an2 07bn 07cn2 07dn2 07en2 08 09 11an 11bn 12 {
  2.         capture replace R2_stove_use_hours_`i' = "0.5" if R2_stove_use_hours_`i' == "1/2" | R2_stove_use_hours_`i' == "1/2 hours"
  3.         capture replace R2_stove_use_hours_`i' = "0.2" if R2_stove_use_hours_`i' == "1/5"
  4.         capture replace R2_stove_use_minutes_`i' = "0.5" if R2_stove_use_minutes_`i' == "1/2" 
  5.         destring R2_stove_use_hours_`i' R2_stove_use_minutes_`i', replace
  6.         
.         replace R2_stove_use_hours_`i' = 0 if R2_stove_use_hours_`i' < 0 & !mi(R2_stove_use_hours_`i')
  7.         replace R2_stove_use_hours_`i' = 24 if R2_stove_use_hours_`i' > 24 & !mi(R2_stove_use_hours_`i')
  8.         replace R2_stove_use_minutes_`i' = 0 if R2_stove_use_minutes_`i' < 0 & !mi(R2_stove_use_minutes_`i')
  9.         replace R2_stove_use_minutes_`i' = 1440 if R2_stove_use_minutes_`i' > 1440 & !mi(R2_stove_use_minutes_`i')
 10.         
.         gen R2_stove_hours_to_mins_`i' = R2_stove_use_hours_`i' * 60
 11.         egen R2_total_minutes_stove_`i' = rowtotal(R2_stove_hours_to_mins_`i' R2_stove_use_minutes_`i'), missing
 12.         replace R2_total_minutes_stove_`i' = 0 if R2_stove_own_`i' == 0
 13.         lab var R2_total_minutes_stove_`i' "R2: Total minutes using stove [TYPE] per day"
 14.         lab var R2_stove_hours_to_mins_`i' "R2: Total hours using stove [TYPE] (in mins.)"
 15.         }
R2_stove_use_hours_01: all characters numeric; replaced as double
(2600 missing values generated)
R2_stove_use_minutes_01 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(2,600 missing values generated)
(2,589 missing values generated)
(397 real changes made)
R2_stove_use_hours_01an2: all characters numeric; replaced as double
(2971 missing values generated)
R2_stove_use_minutes_01an2 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(2,971 missing values generated)
(2,964 missing values generated)
(713 real changes made)
R2_stove_use_hours_03: all characters numeric; replaced as double
(3121 missing values generated)
R2_stove_use_minutes_03: all characters numeric; replaced as double
(3121 missing values generated)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,121 missing values generated)
(3,120 missing values generated)
(878 real changes made)
R2_stove_use_hours_04 already numeric; no replace
R2_stove_use_minutes_04 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,182 missing values generated)
(3,182 missing values generated)
(941 real changes made)
R2_stove_use_hours_04bn2 already numeric; no replace
R2_stove_use_minutes_04bn2 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(3,188 missing values generated)
(945 real changes made)
R2_stove_use_hours_06: all characters numeric; replaced as double
(2763 missing values generated)
R2_stove_use_minutes_06: all characters numeric; replaced as byte
(2751 missing values generated)
(0 real changes made)
(1 real change made)
(0 real changes made)
(0 real changes made)
(2,763 missing values generated)
(2,749 missing values generated)
(533 real changes made)
R2_stove_use_hours_07an2 already numeric; no replace
R2_stove_use_minutes_07an2 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,184 missing values generated)
(3,184 missing values generated)
(943 real changes made)
R2_stove_use_hours_07bn: all characters numeric; replaced as double
(2974 missing values generated)
R2_stove_use_minutes_07bn already numeric; no replace
(0 real changes made)
(1 real change made)
(0 real changes made)
(0 real changes made)
(2,974 missing values generated)
(2,967 missing values generated)
(722 real changes made)
R2_stove_use_hours_07cn2 already numeric; no replace
R2_stove_use_minutes_07cn2 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,185 missing values generated)
(3,185 missing values generated)
(944 real changes made)
R2_stove_use_hours_07dn2 already numeric; no replace
R2_stove_use_minutes_07dn2 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,186 missing values generated)
(3,186 missing values generated)
(945 real changes made)
R2_stove_use_hours_07en2 already numeric; no replace
R2_stove_use_minutes_07en2 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,188 missing values generated)
(3,188 missing values generated)
(941 real changes made)
R2_stove_use_hours_08 already numeric; no replace
R2_stove_use_minutes_08 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,179 missing values generated)
(3,179 missing values generated)
(936 real changes made)
R2_stove_use_hours_09: all characters numeric; replaced as double
(2493 missing values generated)
R2_stove_use_minutes_09 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(2,493 missing values generated)
(2,489 missing values generated)
(279 real changes made)
R2_stove_use_hours_11an: all characters numeric; replaced as double
(3089 missing values generated)
R2_stove_use_minutes_11an already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,089 missing values generated)
(3,085 missing values generated)
(840 real changes made)
R2_stove_use_hours_11bn already numeric; no replace
R2_stove_use_minutes_11bn already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,185 missing values generated)
(3,185 missing values generated)
(934 real changes made)
R2_stove_use_hours_12 already numeric; no replace
R2_stove_use_minutes_12 already numeric; no replace
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(3,183 missing values generated)
(3,183 missing values generated)
(922 real changes made)

. egen total_minutes_traditional_stove = rowtotal(BL_total_minutes_stove_01 BL_total_minutes_stove_02 BL_total_minutes_stove_03 BL_total_minutes_s
> tove_09 BL_total_minutes_stove_10 ///
>         R1_total_minutes_stove_01 R1_total_minutes_stove_03 R1_total_minutes_stove_09 ///
>         R2_total_minutes_stove_01 R2_total_minutes_stove_01an2 R2_total_minutes_stove_03 R2_total_minutes_stove_09), missing
(145 missing values generated)

. winsor2 total_minutes_traditional_stove, replace cuts(0 97.5) by(surveyround)

. label var total_minutes_traditional_stove "Traditional-stove use (chulha, anjeti, TSF, sagarh, coal), minutes per day"

. 
. * Heard of stoves that produce less smoke
. gen heard_of_clean_stoves = 0 if BL_heard_stove_lesssmoke == 0 | BL_heard_stove_lesssmoke2 == 0 | BL_heard_stove_lesssmoke3 == 0 | ///
>         R1_heard_stove_lesssmoke == 0 
(2,579 missing values generated)

. replace heard_of_clean_stoves = 1 if BL_heard_stove_lesssmoke == 1 | BL_heard_stove_lesssmoke2 == 1 | BL_heard_stove_lesssmoke3 == 1 | ///
>         R1_heard_stove_lesssmoke == 1
(1,063 real changes made)

. replace heard_of_clean_stoves = 0 if heard_of_clean_stoves == . & surveyround == 0
(378 real changes made)

.         
. * Heard of fuels that produce less smoke
. gen heard_of_clean_fuels = 0 if BL_heard_fuel_lesssmoke == 0 | BL_heard_fuel_lesssmoke2 == 0 | BL_heard_fuel_lesssmoke3 == 0 | ///
>         R1_heard_fuel_lesssmoke == 0
(2,604 missing values generated)

. replace heard_of_clean_fuels = 1 if BL_heard_fuel_lesssmoke == 1 | BL_heard_fuel_lesssmoke2 == 1 | BL_heard_fuel_lesssmoke3 == 1 | ///
>         R1_heard_fuel_lesssmoke == 1
(1,079 real changes made)

. replace heard_of_clean_fuels = 0 if heard_of_clean_fuels == . & surveyround == 0
(386 real changes made)

. 
. * Smoke safety perception
. gen smoke_unsafe = 1 if smoke_safety_perception <= 4 & smoke_safety_perception != -99 & !mi(smoke_safety_perception)
(2,105 missing values generated)

. replace smoke_unsafe = 0 if smoke_safety_perception > 4 & !mi(smoke_safety_perception)
(959 real changes made)

. label var smoke_unsafe "Household thinks smoke is unsafe (4 or fewer candies in safe pile)"

. 
. * Purchase intervention stove
. gen purchased_intervention_stove = 1 if (BuyGcoil == 1 | BuyGway == 1) & surveyround == 1
(2,802 missing values generated)

. egen mean_purchased = mean(purchased_intervention_stove), by(hh_id)
(2,030 missing values generated)

. tab mean_purchased

mean_purcha |
        sed |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |      1,158      100.00      100.00
------------+-----------------------------------
      Total |      1,158      100.00

. replace purchased_intervention_stove = mean_purchased if surveyround == 2
(386 real changes made)

. replace purchased_intervention_stove = 0 if mi(purchased_intervention_stove)
(2,416 real changes made)

. lab var purchased_intervention_stove "Purchased an intervention stove"

. drop mean_purchased

. 
. * Owns improved stove (BASELINE) (unadjusted)
. gen improved_stove_own = 0 if BL_stove_own_04 == 0 | BL_stove_own_05 == 0 | BL_stove_own_06 == 0 | BL_stove_own_07 == 0 | BL_stove_own_08 == 0 |
>  BL_stove_own_11 == 0
(2,160 missing values generated)

. replace improved_stove_own = 1 if BL_stove_own_04 == 1 | BL_stove_own_05 == 1 | BL_stove_own_06 == 1 | BL_stove_own_07 == 1 | BL_stove_own_08 ==
>  1 | BL_stove_own_11 == 1
(324 real changes made)

. replace improved_stove_own = 0 if improved_stove_own == . & surveyround == 0
(27 real changes made)

. * Owns improved stove (FOLLOW-UP 1)
. replace improved_stove_own = 0 if R1_stove_own_04 == 0 | R1_stove_own_06 == 0 | R1_stove_own_07an == 0 | R1_stove_own_07bn == 0 | R1_stove_own_0
> 8 == 0 | R1_stove_own_11an == 0 | R1_stove_own_11bn == 0
(973 real changes made)

. replace improved_stove_own = 1 if R1_stove_own_04 == 1 | R1_stove_own_06 == 1 | R1_stove_own_07an == 1 | R1_stove_own_07bn == 1 | R1_stove_own_0
> 8 == 1 | R1_stove_own_11an == 1 | R1_stove_own_11bn == 1
(548 real changes made)

. replace improved_stove_own = 0 if improved_stove_own == . & lostin2013 == 0
(7 real changes made)

. * Owns improved stove (FOLLOW-UP 2)
. replace improved_stove_own = 0 if R2_stove_own_04 == 0 | R2_stove_own_04bn2 == 0 | R2_stove_own_06 == 0 | R2_stove_own_07an2 == 0 | R2_stove_own
> _07bn == 0 | ///
>         R2_stove_own_07cn2 == 0 | R2_stove_own_07dn2 == 0 | R2_stove_own_07en2 == 0 | R2_stove_own_08 == 0 | R2_stove_own_11an == 0 | R2_stove_o
> wn_11bn == 0
(948 real changes made)

. replace improved_stove_own = 1 if R2_stove_own_04 == 1 | R2_stove_own_04bn2 == 1 | R2_stove_own_06 == 1 | R2_stove_own_07an2 == 1 | R2_stove_own
> _07bn == 1 | ///
>         R2_stove_own_07cn2 == 1 | R2_stove_own_07dn2 == 1 | R2_stove_own_07en2 == 1 | R2_stove_own_08 == 1 | R2_stove_own_11an == 1 | R2_stove_o
> wn_11bn == 1
(624 real changes made)

. replace improved_stove_own = 0 if improved_stove_own == . & lostin2014 == 0
(12 real changes made)

. label var improved_stove_own "HH owns improved stove (kero., LPG, elec., biogas, comm. ICS, G-Coil/Greenway)"

. 
. * Uses improved stove (BASELINE)
. gen improved_stove_use = 0 if BL_stove_used_04 == 0 | BL_stove_used_05 == 0 | BL_stove_used_06 == 0 | BL_stove_used_07 == 0 | BL_stove_used_08 =
> = 0 | BL_stove_used_11 == 0
(3,175 missing values generated)

. replace improved_stove_use = 1 if BL_stove_used_04 == 1 | BL_stove_used_05 == 1 | BL_stove_used_06 == 1 | BL_stove_used_07 == 1 | BL_stove_used_
> 08 == 1 | BL_stove_used_11 == 1
(315 real changes made)

. replace improved_stove_use = 0 if improved_stove_own == 0 & surveyround == 0
(739 real changes made)

. * Uses improved stove (FOLLOW-UP 1)
. replace improved_stove_use = 0 if R1_stove_used_04 == 0 | R1_stove_used_06 == 0 | R1_stove_used_07an == 0 | R1_stove_used_07bn == 0 | R1_stove_u
> sed_08 == 0 | R1_stove_used_11an == 0 | R1_stove_used_11bn == 0
(115 real changes made)

. replace improved_stove_use = 1 if R1_stove_used_04 == 1 | R1_stove_used_06 == 1 | R1_stove_used_07an == 1 | R1_stove_used_07bn == 1 | R1_stove_u
> sed_08 == 1 | R1_stove_used_11an == 1 | R1_stove_used_11bn == 1
(491 real changes made)

. replace improved_stove_use = 0 if improved_stove_own == 0 & surveyround == 1
(439 real changes made)

. replace improved_stove_use = 0 if improved_stove_use == . & lostin2013 == 0
(1 real change made)

. * Uses improved stove (FOLLOW-UP 2)
. replace improved_stove_use = 0 if R2_stove_used_04 == 0 | R2_stove_used_04bn2  == 0 | R2_stove_used_06  == 0 | R2_stove_used_07an2  == 0 | R2_st
> ove_used_07bn == 0 | R2_stove_used_07cn2 == 0 | R2_stove_used_07dn2 == 0 | ///
>         R2_stove_used_07en2 == 0 | R2_stove_used_08 == 0 | R2_stove_used_11an == 0 | R2_stove_used_11bn == 0
(113 real changes made)

. replace improved_stove_use = 1 if R2_stove_used_04 == 1 | R2_stove_used_04bn2  == 1 | R2_stove_used_06  == 1 | R2_stove_used_07an2  == 1 | R2_st
> ove_used_07bn == 1 | R2_stove_used_07cn2 == 1 | R2_stove_used_07dn2 == 1 | ///
>         R2_stove_used_07en2 == 1 | R2_stove_used_08 == 1 | R2_stove_used_11an == 1 | R2_stove_used_11bn == 1
(544 real changes made)

. replace improved_stove_use = 0 if improved_stove_own == 0 & surveyround == 2
(373 real changes made)

. replace improved_stove_use = 0 if improved_stove_use == . & lostin2014 == 0
(22 real changes made)

. label var improved_stove_use "HH used improved stove in past week"

. 
. * Owns LPG stove (BASELINE)
. gen lpg_stove_own = 0 if BL_stove_own_06 == 0
(2,455 missing values generated)

. replace lpg_stove_own = 1 if BL_stove_own_06 == 1
(303 real changes made)

. replace lpg_stove_own = 0 if lpg_stove_own == . & surveyround == 0
(27 real changes made)

. * Owns LPG stove (FOLLOW-UP 1)
. replace lpg_stove_own = 0 if R1_stove_own_06 == 0
(621 real changes made)

. replace lpg_stove_own = 1 if R1_stove_own_06 == 1
(355 real changes made)

. replace lpg_stove_own = 0 if lpg_stove_own == . & lostin2013 == 0
(11 real changes made)

. * Owns LPG stove (FOLLOW-UP 2)
. replace lpg_stove_own = 0 if R2_stove_own_06 == 0
(533 real changes made)

. replace lpg_stove_own = 1 if R2_stove_own_06 == 1
(442 real changes made)

. replace lpg_stove_own = 0 if lpg_stove_own == . & lostin2014 == 0
(22 real changes made)

. lab var lpg_stove_own "HH owns LPG stove"

. 
. * Uses LPG stove (BASELINE)
. gen lpg_stove_use = 0 if BL_stove_used_06 == 0
(3,183 missing values generated)

. replace lpg_stove_use = 1 if BL_stove_used_06 == 1
(295 real changes made)

. replace lpg_stove_use = 0 if lpg_stove_own == 0 & surveyround == 0
(760 real changes made)

. replace lpg_stove_use = 0 if lpg_stove_use == . & surveyround == 0
(3 real changes made)

. * Uses LPG stove (FOLLOW-UP 1)
. replace lpg_stove_use = 0 if R1_stove_used_06 == 0
(12 real changes made)

. replace lpg_stove_use = 1 if R1_stove_used_06 == 1
(343 real changes made)

. replace lpg_stove_use = 0 if lpg_stove_own == 0 & surveyround == 1
(631 real changes made)

. replace lpg_stove_use = 0 if lpg_stove_use == . & lostin2013 == 0
(2 real changes made)

. * Uses LPG stove (FOLLOW-UP 2)
. replace lpg_stove_use = 0 if R2_stove_used_06 == 0
(4 real changes made)

. replace lpg_stove_use = 1 if R2_stove_used_06 == 1
(419 real changes made)

. replace lpg_stove_use = 0 if lpg_stove_own == 0 & surveyround == 2
(555 real changes made)

. replace lpg_stove_use = 0 if lpg_stove_use == . & lostin2014 == 0
(19 real changes made)

. lab var lpg_stove_use "HH used LPG stove in past week"

. 
. * Owns intervention stove (unadjusted)
. gen intervention_stove_own = 0  if surveyround == 0 | treatment == 0
(1,542 missing values generated)

. replace intervention_stove_own = 0 if R1_stove_own_07bn == 0 | R1_stove_own_11an == 0
(677 real changes made)

. replace intervention_stove_own = 1 if R1_stove_own_07bn == 1 | R1_stove_own_11an == 1
(306 real changes made)

. replace intervention_stove_own = 0 if intervention_stove_own == . & lostin2013 == 0 
(7 real changes made)

. replace intervention_stove_own = 0 if R2_stove_own_07bn == 0 | R2_stove_own_11an == 0
(658 real changes made)

. replace intervention_stove_own = 1 if R2_stove_own_07bn == 1 | R2_stove_own_11an == 1
(312 real changes made)

. replace intervention_stove_own = 0 if intervention_stove_own == . & lostin2014 == 0 
(20 real changes made)

. lab var intervention_stove_own "HH owns intervention stove"

. 
. * Uses intervention stove (BASELINE) (unadjusted)
. gen intervention_stove_use = 0 if surveyround == 0 | treatment == 0
(1,542 missing values generated)

. * Uses intervention stove (FOLLOW-UP 1) (unadjusted)
. replace intervention_stove_use = 0 if R1_stove_used_07bn == 0 | R1_stove_used_11an == 0 
(104 real changes made)

. replace intervention_stove_use = 1 if R1_stove_used_07bn == 1 | R1_stove_used_11an == 1 
(210 real changes made)

. replace intervention_stove_use = 0 if intervention_stove_own == 0 & surveyround == 1
(412 real changes made)

. replace intervention_stove_use = 0 if intervention_stove_use == . & lostin2013 == 0
(1 real change made)

. * Uses intervention stove (FOLLOW-UP 2) (unadjusted)
. replace intervention_stove_use = 0 if R2_stove_used_07bn == 0 | R2_stove_used_11an == 0
(101 real changes made)

. replace intervention_stove_use = 1 if R2_stove_used_07bn == 1 | R2_stove_used_11an == 1
(192 real changes made)

. replace intervention_stove_use = 0 if intervention_stove_own == 0 & surveyround == 2
(423 real changes made)

. replace intervention_stove_use = 0 if intervention_stove_use == . & lostin2014 == 0
(24 real changes made)

. lab var intervention_stove_use "HH used intervention stove in past week"

. 
. * Uses traditional fuel
. gen used_traditional_fuel = 0 if fuel_use_01 == 0 | fuel_use_02 == 0 | fuel_use_03 == 0 | fuel_use_04 == 0 | fuel_use_11n2 == 0
(248 missing values generated)

. replace used_traditional_fuel = 1 if fuel_use_01 == 1 | fuel_use_02 == 1 | fuel_use_03 == 1 | fuel_use_04 == 1 | fuel_use_11n2 == 1
(2,978 real changes made)

. label var used_traditional_fuel "HH uses traditional fuel (fuelwood, crop res., leaves, dung, trash)"

. 
. * Use of clean fuels, and regularity of clean-fuel use
. gen clean_fuel_use = 0 if fuel_use_06 == 0 | fuel_use_07 == 0 | fuel_use_08 == 0 | fuel_use_09 == 0
(254 missing values generated)

. replace clean_fuel_use = 1 if fuel_use_06 == 1 | fuel_use_07 == 1 | fuel_use_08 == 1 | fuel_use_09 == 1
(1,637 real changes made)

. lab var clean_fuel_use "HH uses clean fuel (kerosene, LPG, electricity, and/or biogas)"

. gen clean_fuel_daily = 0 if fuel_use_regularity_06 == 0 | fuel_use_regularity_07 == 0 | fuel_use_regularity_08 == 0 | fuel_use_regularity_09 == 
> 0
(3,188 missing values generated)

. replace clean_fuel_daily = 1 if fuel_use_regularity_06 == 1 | fuel_use_regularity_07 == 1 | fuel_use_regularity_08 == 1 | fuel_use_regularity_09
>  == 1
(1,331 real changes made)

. replace clean_fuel_daily = 0 if clean_fuel_use == 0
(1,370 real changes made)

. replace clean_fuel_daily = 0 if improved_stove_own == 0
(303 real changes made)

. lab var clean_fuel_daily "HH uses clean fuel (kerosene, LPG, electricity, and/or biogas) daily"

. 
. * Time spent collecting fuels
. replace fuel_collection_minutes_07 = 60 if fuel_collection_minutes_07 > 60 & !mi(fuel_collection_minutes_07) // Capping LPG collection time at 6
> 0 minutes per day
(32 real changes made)

. replace fuel_collection_minutes_08 = . if surveyround > 0 // No collection time requested for electricity in follow-up surveys
(2 real changes made, 2 to missing)

. replace fuel_collection_minutes_11n2 = . if surveyround == 2 // No collection time requested for trash in second follow-up survey
(0 real changes made)

. egen total_fuel_collection_time = rowtotal(fuel_collection_minutes_*), missing
(163 missing values generated)

. lab var total_fuel_collection_time "Total fuel-collection time, mins. per day"

. egen trad_fuel_collection_time = rowtotal(fuel_collection_minutes_01 fuel_collection_minutes_02 fuel_collection_minutes_03 fuel_collection_minut
> es_04 fuel_collection_minutes_11n2), missing
(229 missing values generated)

. lab var trad_fuel_collection_time "Traditional-fuel (fuelwood, crop res., leaves, dung) coll. time, mins. per day"

. winsor2 total_fuel_collection_time trad_fuel_collection_time, replace cuts(0 97.5) by(surveyround)

. 
. * At least one case of cough or cold in past two weeks
. foreach var of varlist cough_or_cold_* {
  2.         replace `var' = . if `var' < 0
  3.         }
(1 real change made, 1 to missing)
(3 real changes made, 3 to missing)
(9 real changes made, 9 to missing)
(11 real changes made, 11 to missing)
(10 real changes made, 10 to missing)
(3 real changes made, 3 to missing)
(0 real changes made)
(1 real change made, 1 to missing)
(1 real change made, 1 to missing)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)

. egen total_cough_or_cold = rowtotal(cough_or_cold_*), missing
(170 missing values generated)

. lab var total_cough_or_cold "Total cases of cough or cold in past two weeks"

. gen at_least_one_coughcold = 1 if total_cough_or_cold > 0 & !mi(total_cough_or_cold)
(1,973 missing values generated)

. replace at_least_one_coughcold = 0 if total_cough_or_cold == 0
(1,803 real changes made)

. lab var at_least_one_coughcold "HH had at least one cough/cold case in past two weeks"

. 
. * Fuelwood weight
. bys hh_id (surveyround) : replace fuelwood_used_weight = . if fuelwood_used_weight[_n-1] == . & surveyround == 1
(555 real changes made, 555 to missing)

. bys hh_id (surveyround) : replace fuelwood_used_weight = . if fuelwood_used_weight[_n-2] == . & surveyround == 2
(569 real changes made, 569 to missing)

. replace fuelwood_used_weight = . if fuelwood_used_weight < 0 & !mi(fuelwood_used_weight)
(1 real change made, 1 to missing)

. 
. * Problems with any of the intervention stoves
. gen problems_with_interv_stoves = 1 if (problems_greenway == 1 | problems_gcoil == 1)
(2,988 missing values generated)

. replace problems_with_interv_stoves = 0 if (problems_greenway == 0 & problems_gcoil == 0)
(1,913 real changes made)

. lab var problems_with_interv_stoves "HH reports experiencing problems with intervention stoves"

. 
. ********************************************************************************
. 
. * Identifying non-missing household
. 
. bys hh_id (surveyround) : gen sample_household = 1 if lostin2013 == 0 & lostin2014[_n+1] == 0 & surveyround == 1
(2,245 missing values generated)

. bys hh_id (surveyround) : replace sample_household = sample_household[_n+1] if surveyround == 0
(943 real changes made)

. bys hh_id (surveyround) : replace sample_household = sample_household[_n-1] if surveyround == 2
(943 real changes made)

. lab var sample_household "Household in analytical sample (non-missing all three rounds)"

. 
. * Only over those households with key outcomes not missing in all periods
. egen nomiss = rownonmiss(intervention_stove_own  clean_fuel_daily total_fuel_collection_time)

. bys hh_id (surveyround) : gen notmissing = 3 if surveyround == 2 & nomiss == 3 & nomiss[_n-1] == 3 & nomiss[_n-2] == 3
(2,456 missing values generated)

. bys hh_id (surveyround) : replace notmissing = notmissing[_n+1] if surveyround == 1
(732 real changes made)

. bys hh_id (surveyround) : replace notmissing = notmissing[_n+1] if surveyround == 0
(732 real changes made)

. tab nomiss notmissing, miss

           |      notmissing
    nomiss |         3          . |     Total
-----------+----------------------+----------
         0 |         0        100 |       100 
         1 |         0         41 |        41 
         2 |         0        241 |       241 
         3 |     2,196        610 |     2,806 
-----------+----------------------+----------
     Total |     2,196        992 |     3,188 

. drop nomiss notmissing

. 
. ********************************************************************************
. 
. * Fix incorrectly coded hamlets
. bys uniquegrp : egen chirag_mean = mean(chirag_strata)

. tab chirag_mean

chirag_mean |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |      1,551       48.65       48.65
   .0714286 |         42        1.32       49.97
   .9090909 |         33        1.04       51.00
          1 |      1,562       49.00      100.00
------------+-----------------------------------
      Total |      3,188      100.00

. list hh_id uniquegrp gpname if chirag_mean != 0 & chirag_mean != 1

      +---------------------------+
      | hh_id   unique~p   gpname |
      |---------------------------|
1515. |  1185      68008    Peora |
1516. |  1139      68008    Peora |
1517. |  1101      68008    Peora |
1518. |  1186      68008   Peora  |
1519. |  1143      68008    Peora |
      |---------------------------|
1520. |  1101      68008          |
1521. |  1131      68008          |
1522. |  1168      68008   Peora  |
1523. |  1101      68008   Peora  |
1524. |  1139      68008   Peora  |
      |---------------------------|
1525. |  1168      68008    Peora |
1526. |  1143      68008          |
1527. |  1131      68008    Peora |
1528. |  1146      68008    Peora |
1529. |  1062      68008    Peora |
      |---------------------------|
1530. |  1131      68008    Peora |
1531. |  1186      68008    Peora |
1532. |  1062      68008   Peora  |
1533. |  1135      68008   Peora  |
1534. |  1135      68008    Peora |
      |---------------------------|
1535. |  1140      68008    Peora |
1536. |  1185      68008    Peora |
1537. |  1146      68008    Peora |
1538. |  1143      68008    Peora |
1539. |  1140      68008    Peora |
      |---------------------------|
1540. |  1140      68008          |
1541. |  1139      68008          |
1542. |  1186      68008          |
1543. |  1146      68008          |
1544. |  1185      68008          |
      |---------------------------|
1545. |  1168      68008          |
1546. |  1062      68008          |
1547. |  1135      68008          |
1596. |  1734      69001   Bahuli |
1597. |  1828      69001          |
      |---------------------------|
1598. |  1726      69001   Bahuli |
1599. |  1736      69001          |
1600. |  1724      69001   Bahuli |
1601. |  1718      69001          |
1602. |  1732      69001   Bahuli |
      |---------------------------|
1603. |  1726      69001          |
1604. |  1736      69001   Bahuli |
1605. |  1720      69001   Bahuli |
1606. |  1730      69001          |
1607. |  1828      69001   Bahuli |
      |---------------------------|
1608. |  1820      69001   Bahuli |
1609. |  1825      69001          |
1610. |  1732      69001   Bahuli |
1611. |  1718      69001   Bahuli |
1612. |  1720      69001          |
      |---------------------------|
1613. |  1722      69001   Bahuli |
1614. |  1734      69001          |
1615. |  1825      69001   Bahuli |
1616. |  1728      69001   Bahuli |
1617. |  1810      69001   Bahuli |
      |---------------------------|
1618. |  1728      69001          |
1619. |  1722      69001          |
1620. |  1820      69001          |
1621. |  1736      69001   Bahuli |
1622. |  1728      69001   Bahuli |
      |---------------------------|
1623. |  1734      69001   Bahuli |
1624. |  1718      69001   Bahuli |
1625. |  1820      69001   Bahuli |
1626. |  1828      69001   Bahuli |
1627. |  1732      69001          |
      |---------------------------|
1628. |  1730      69001   Bahuli |
1629. |  1825      69001   Bahuli |
1630. |  1810      69001          |
1631. |  1726      69001   Bahuli |
1632. |  1730      69001   Bahuli |
      |---------------------------|
1633. |  1722      69001   Bahuli |
1634. |  1810      69001   Bahuli |
1635. |  1724      69001          |
1636. |  1720      69001   Bahuli |
1637. |  1724      69001   Bahuli |
      +---------------------------+

. replace chirag_strata = 1 if uniquegrp == 68008
(3 real changes made)

. replace chirag_strata = 0 if uniquegrp == 69001
(3 real changes made)

. drop chirag_mean

. 
. * Fix GP names
. bys hh_id (surveyround gpname) : replace gpname = gpname[_N]
(1,421 real changes made)

. replace gpname = trim(gpname)
(60 real changes made)

. replace gpname = "Chaugaon Chhina" if gpname == "Chaugaon Chinna"
(126 real changes made)

. replace gpname = "Gangakort" if gpname == "Gangarkot"
(72 real changes made)

. replace gpname = "Ghiroli" if gpname == "Jhiroli"
(123 real changes made)

. 
. * Fix GP codes
. replace village = trim(village)
(89 real changes made)

. bys village (gp_code) : replace gp_code = gp_code[1] if mi(gp_code) 
(42 real changes made)

. 
. ********************************************************************************
. 
. * Anonymize panel data
. 
. drop ///
>         hh_member_?? /// Names of household members
>         age_year_?? age_month_?? age_day_?? /// Ages of household members
>         sex_?? /// Sex of household members
>         household_head_?? /// Household head indicator
>         cooks_?? /// Primary/secondary cook indicator
>         primary_cook_?? /// Primary cook indicator
>         education_years_?? /// Education years indicator
>         school_indicator_?? /// Attended school indicator
>         cough_or_cold_?? /// Cough-or-cold indicator
>         child_under_five_?? /// Child-under-five indicator
>         maxlclass? // Household latent class indicator 

. 
.         //      village /// Name of village
.         // gpname /// Name of gram panchayat
.         // districtname /// Name of district
.         // blockname /// Name of block
. 
. ********************************************************************************
. 
. * Reorder variables
. 
. order BL_stove_own_?? BL_number_stove_own_?? BL_stove_used_?? BL_stove_use_hours_?? BL_stove_use_minutes_?? ///
>         R1_stove_own_* R1_number_stove_own_* R1_stove_used_* R1_stove_use_hours_* R1_stove_use_minutes_* ///
>         R2_stove_own_* R2_number_stove_own_* R2_stove_used_* R2_stove_use_hours_* R2_stove_use_minutes_*, ///
>                 a(below_pov_line)

. 
. order fuel_use_* fuel_use_regularity_* fuel_collection_minutes_* fuel_expenditure_* fuel_expenditure_units_*, ///
>         a(R2_stove_use_minutes_12)

. 
. * Label remaining variables
. 
. foreach var of varlist R2_number_stove_own_* {
  2.         lab var `var' "E.2. How many of [TYPE] do you own?"
  3. }

. foreach var of varlist R2_stove_used_* {
  2.         lab var `var' "E.6. Has this stove been used in the past week?"
  3. }

. foreach var of varlist R2_stove_use_hours_* {
  2.         lab var `var' "E.9a.n. For a typical day when this [STOVE] in this season is used, how many hou"
  3. }

. foreach var of varlist R1_stove_use_minutes_* R2_stove_use_minutes_* {
  2.         lab var `var' "Mins"
  3. }

. lab var fuel_use_regularity_11n2 "E.20. How regularly do you use it?"

. lab var fuel_collection_minutes_11n2 "Time spent collecting [FUEL], minutes per day"

. lab var fuel_expenditure_11n2 "E.21. How much money do you spend on this fuel each month?"

. lab var fuel_expenditure_units_11n2 "(1) Harvest season/ (2) All year"

. lab var hh_id "Household ID"

. lab var state_code "State code"

. lab var uniquegrp "Subcluster code"

. lab var districtcode "District code"

. lab var blockcode "Block code"

. lab var problems_greenway "HH experienced problem with Gway stove"

. lab var problems_gcoil "HH experienced problem with Gcoil stove"

. lab var maintenance_greenway "HH received maintenance for Gway stove"

. lab var maintenance_gcoil "HH received mainteance for Gcoil stove"

. lab var children_under_five "Number of children under five"

. lab var heard_of_clean_stoves "HH has heard of clean stoves"

. lab var heard_of_clean_fuels "HH has heard of clean fuels"

. lab var districtname "District name"

. lab var blockname "Block name"

. 
. ********************************************************************************
. 
. sort hh_id surveyround

. order hh_id surveyround, first

. order uniquegrp IDcompleted, a(gpsubcl_code)

. order districtname districtcode blockname blockcode, a(state_code)

. save "${output}panel_r0_r1_r2.dta", replace
file C:\Users\faraz\Box Sync\Home Folder fu8\Research-Box\Marc, Faraz\microinstitutions\Analyses\Main folder\output/panel_r0_r1_r2.dta saved

. 
end of do-file

. 
. log close
      name:  <unnamed>
       log:  C:\Users\faraz\Box Sync\Home Folder fu8\Research-Box\Marc, Faraz\microinstitutions\Analyses\Main folder\output/ngo_log_cleaning.txt
  log type:  text
 closed on:   3 Jul 2022, 10:44:53
--------------------------------------------------------------------------------------------------------------------------------------------------
